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

From Joomla! Documentation

Revision as of 04:59, 20 September 2010 by Batch1211 (talk | contribs)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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')); ?>" >