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 (removed Category:Installation using HotCat)
 
(3 intermediate revisions by 3 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]]
 +
</noinclude>

Latest revision as of 10:46, 29 April 2013

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