Why does Category List Layout show in the wrong format in version 1.5.11?

From Joomla! Documentation

Revision as of 10:46, 29 April 2013 by Tom Hutchison (talk | contribs) (removed Category:Installation using HotCat)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Due to an error in file components/com_content/views/category/tmpl/default_items.php the class names for the CSS classes "sectiontableentry1" and "sectiontablentry2" are incorrect in the Category List layout. They are incorrectly changed to "sectiontableentry1; ?>" and "sectiontableentry2; ?>". As a result, the detailed lines in the Category List Layout may not be styled correctly.

To correct this issue change on line 68 in this file from:

<tr class="sectiontableentry<?php echo ($item->odd +1 ) . $this->escape($this->params->get('pageclass_sfx')); ?>; ?>" >

to:

<tr class="sectiontableentry<?php echo ($item->odd +1 ) . $this->escape($this->params->get('pageclass_sfx')); ?>" >