teitbite wrote:Hi
I've found a bug. In /layout/default.php there is:
- Code: Select all
if($this->API->get('template_style', '1') == 2) {
$tpl_page_suffix = $this->page_suffix != 'class=pattern"'.$this->API->get('template_pattern', '1').'"' ? ' class="'.$this->page_suffix.' pattern'.$this->API->get('template_pattern', '1').'"' : '';
}
and should be:
- Code: Select all
$tpl_page_suffix = $this->page_suffix != '' ? ' class="'.$this->page_suffix.'"' : '';
Thanks for the help!
I commented the first block of code
- Code: Select all
if($this->API->get('template_style', '1') == 2) {
$tpl_page_suffix = $this->page_suffix != 'class=pattern"'.$this->API->get('template_pattern', '1').'"' ? ' class="'.$this->page_suffix.' pattern'.$this->API->get('template_pattern', '1').'"' : '';
}
and apparently all works fine now! The class sufixes are finally displayed!
I just commented the first block of code and did not replaced it with the code you suggested,
- Code: Select all
$tpl_page_suffix = $this->page_suffix != '' ? ' class="'.$this->page_suffix.'"' : '';
because this already existed in the file after the block of code you refer as a bug!
I still have a doubt! I looked at some sites of other users with this template and that problem didn't exist!
I suppose this is a bug of the 3.x version of the template that not exist in 2.5 version?