Page 1 of 1

Category name always displayed in browser title

Posted: 15 Jul 2013, 12:52
by jedivader
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

Code: Select all

		if (isset($category->title) && $category->title != '') {
			$title = $title .' - ' .  $category->title;
		}
should be

Code: Select all

		if ($this->tmpl['displaycatnametitle'] == 1 && isset($category->title) && $category->title != '') {
			$title = $title .' - ' .  $category->title;
		}

Re: Category name always displayed in browser title

Posted: 20 Jul 2013, 00:33
by Jan
Hi, thank you for the info, I will take a look at it.

Jan

Re: Category name always displayed in browser title

Posted: 23 Jul 2013, 23:59
by Jan
Hi, set in 4.0.1 (for 3.2.x will be set for next version)

Thank you, Jan

Re: Category name always displayed in browser title

Posted: 25 Sep 2013, 18:11
by Jan Jaap
I'm using v3.2.6. Have made the changes myself, and it works perfectly, THX ;-)

Re: Category name always displayed in browser title

Posted: 01 Oct 2013, 23:19
by Jan
Ok

Re: Category name always displayed in browser title

Posted: 02 Feb 2014, 16:53
by Jan
Hi, set in 3.2.7, thank you for the info.

Jan