I would like to change the leading articles html structure for the blog category page in Joomla 2.5.
It has to be like this
<dl>
<dt><a href="#">intro-image</a></dt>
<dd>
<h3>article-title</h3>
<var>published-date</var>
intro-text
</dd>
</dl>
I copied blog.php file into my-template/html/com-content/category/ and modified it
<?php if (!empty($this->lead_items)) : ?>
<?php foreach ($this->lead_items as &$item) : ?>
<dl>
<dt></dt>
<dd>
<?php
$this->item = &$item;
echo $this->item->introtext;
?>
</dd>
<?php
$leadingcount++;
?>
</dl>
<?php endforeach; ?>
But as you see I only managed to show the intro text. How can intro image, article title and published date be displayed on their places? Are there more files, which have to be modified?
I appreciate any help. Thank you.
Half way there. Here is the code but I’m not sure what you mean by the intro image. Is it part of the article? Please explain and I might be able to get it working fully: