This is an override!";
if ( $this->pageclass_sfx == 'subcats' )
{
echo "
And it is a subcats page
";
}
else {
echo "
But this is NOT a subcats page
";
}
*/
//V. end is override enabled?
?>
params->get('show_page_heading', 1)) : ?>
params->get('show_category_title', 1) or $this->params->get('page_subheading')) : ?>
escape($this->params->get('page_subheading')); ?>
params->get('show_category_title')) : ?>
category->title; ?>
params->get('show_cat_tags', 1) && !empty($this->category->tags->itemTags)) : ?>
category->tagLayout = new JLayoutFile('joomla.content.tags'); ?>
category->tagLayout->render($this->category->tags->itemTags); ?>
params->get('show_description', 1) || $this->params->def('show_description_image', 1)) : ?>
params->get('show_description_image') && $this->category->getParams()->get('image')) : ?>
params->get('show_description') && $this->category->description) : ?>
category->description, '', 'com_content.category'); ?>
lead_items) && empty($this->link_items) && empty($this->intro_items)) : ?>
params->get('show_no_articles', 1)) : ?>
lead_items)) : ?>
lead_items as &$item) : ?>
item = & $item;
echo $this->loadTemplate('item');
?>
intro_items));
$counter = 0;
// V. used later to compensate for premature linebreaks when subcat title shown
$compensate = 0;
?>
intro_items)) : ?>
intro_items as $key => &$item) : ?>
columns) + 1 ?>
pageclass_sfx == 'subcats' ) {
$this->item = &$item;
/* print_r($this->item); */
$subcat = $this->item->category_title;
if (!isset($psubcat) || $subcat != $psubcat) {
if ($rowcount !== 1) {
//We must close previous line prematurely
echo '
';
$rowcount = 1;
//And compensate for the break in future iterations
$compensate = ((int) $key % (int) $this->columns) ;
}
echo '' . $subcat . '
';
}
$psubcat = $subcat;
}
//V. end Display subcategory titles in blog listings
?>
columns; ?>