Skip to content

Instantly share code, notes, and snippets.

@betweenbrain
Created May 9, 2012 13:17
Show Gist options
  • Save betweenbrain/2644421 to your computer and use it in GitHub Desktop.
Save betweenbrain/2644421 to your computer and use it in GitHub Desktop.
Add heading to absolute first article of first page of Joomla 2.5 category blog
Add the following to your /com_content/category/blog.php template override just before <?php $this->item = &$item; echo $this->loadTemplate('item'); ?> of the class="leading" item.
<?php if ($this->pagination->get('pages.current') == 1) echo '<h1>Absolute First Article</h1>' ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment