Actions

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

From Joomla! Documentation

(New page: Due to an error in File: <code>components/com_content/views/category/tmpl/default_items.php</code> the output on List layout is wrong. To correct this issue change on line 68 in this file...)
 
(added more detailed explanation)
Line 1: Line 1:
Due to an error in File: <code>components/com_content/views/category/tmpl/default_items.php</code>
+
Due to an error in file <code>components/com_content/views/category/tmpl/default_items.php</code>
the output on List layout is wrong.
+
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:
+
To correct this issue change on line 68 in this file from:
 
<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>
to
+
to:
 
<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]]
 
[[Category:Version 1.5.11 FAQ]]

Revision as of 09:36, 3 June 2009

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