Actions

Difference between revisions of "Why does Category List Layout show in the wrong format in version 1.5.11?"

From Joomla! Documentation

(added more detailed explanation)
m (clean up categories with <noinclude> tags)
(2 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
<source lang="php"><tr class="sectiontableentry<?php echo ($item->odd +1 ) . $this->escape($this->params->get('pageclass_sfx')); ?>" ></source>
 
<source lang="php"><tr class="sectiontableentry<?php echo ($item->odd +1 ) . $this->escape($this->params->get('pageclass_sfx')); ?>" ></source>
  
[[Category:Version 1.5.11 FAQ]]
+
<noinclude>[[Category:Version 1.5.11 FAQ]]
 +
[[Category:FAQ]]
 +
[[Category:Installation]]</noinclude>

Revision as of 16:26, 1 September 2012

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