Hi There,
Hi there, i've just read this article. Something i was really looking for. At least if this is about showing the categorie images in the for "Directory" item in the menu. If not, can some one tell me if that's possible and how?
I've tried to add the <?php echo JHTML::_('image.site', $sub->image, 'images/stories/', NULL, NULL, $sub->title); ?>
I've got 2 directories named "Default" and "Blog" and in both i found the file and changed it accordingly
However it's not having any results. I don't know if i added it properly or not. Could someone take a look at the php file?
Kind regards,
Perry
<?php
/**
* @version 1.5 beta 5 $Id: blog_subcategories.php 127 2009-10-14 15:28:59Z vistamedia $
* @package Joomla
* @subpackage FLEXIcontent
* @copyright (C) 2009 Emmanuel Danan -
www.vistamedia.fr
* @license GNU/GPL v2
*
* FLEXIcontent is a derivative work of the excellent QuickFAQ component
* @copyright (C) 2008 Christoph Lukes
* see
www.schlu.net
for more information
*
* FLEXIcontent is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<?php
$n = count($this->categories);
$i = 0;
?>
<div class="subcategorieslist">
<?php
echo JText::_( 'FLEXI_SUBCATEGORIES' ) . ' : ';
foreach ($this->categories as $sub) :
$subsubcount = count($sub->subcats);
?>
<?php echo $this->escape($sub->title); ?>
<?php echo JHTML::_('image.site', $sub->image, 'images/stories/', NULL, NULL, $sub->title); ?> <?php
if ($this->params->get('show_itemcount', 1)) echo ' (' . ($sub->assigneditems != null ? $sub->assigneditems.'/'.$subsubcount : '0/'.$subsubcount) . ')';
$i++;
if ($i != $n) :
echo ', ';
endif;
endforeach; ?>
</div>