In homepage i have this:
ARTICLE TITLE
ARTICLE CATEGORY
TEXT TEXT TEXT
I want this:
ARTICLE TITEL
CATEGORY PICTURE
TEXTTEXTTEXT
I found this tmp: components>com_content>views>frontpage>tmp>default_item.php
I try to edit and i found this part:
Code: Select all
<?php if ($this->item->params->get('show_category') && $this->item->catid) : ?>
<span>
<?php if ($this->item->params->get('link_category')) : ?>
<?php echo '<a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->catslug, $this->item->sectionid)).'">'; ?>
<?php endif; ?>
<?php echo $this->item->category; ?>
<?php if ($this->item->params->get('link_section')) : ?>
<?php echo '</a>'; ?>
<?php endif; ?>
</span>
<?php endif; ?>
Code: Select all
<img src="http:www.mysite.com/image/''CATEGORYNAME''.gif
Please help me becouse i really need to modify this component
Thanks