Category name always displayed in browser title
Posted: 15 Jul 2013, 12:52
For a Category View, even when "Display Category Name In Page Title" is set to "Hide", the category name is still displayed in the browser title.
The problem is in com_phocagallery\views\category\view.html.php
the code on line 2240
should be
The problem is in com_phocagallery\views\category\view.html.php
the code on line 2240
Code: Select all
if (isset($category->title) && $category->title != '') {
$title = $title .' - ' . $category->title;
}
Code: Select all
if ($this->tmpl['displaycatnametitle'] == 1 && isset($category->title) && $category->title != '') {
$title = $title .' - ' . $category->title;
}