Page 1 of 1

Website Page Title BEFORE Site Name

Posted: 30 Apr 2012, 13:45
by tsaimsbond
Hi everyone,
I use latest version of Phoca Gallery with Joomla 2.5 (SEO Settings --> Include Site Name in Page Titles: AFTER) and i have a problem with page titles.
Every other page of my site is in the following format:
<head> <title>"Menu Title" - "Site Name"</title>

But, Phoca Gallery ยป List Of Categories (Categories View) is:
<head> <title>"Site Name" - "Menu Title"</title>

How i can fix it???

Re: Website Page Title BEFORE Site Name

Posted: 06 May 2012, 22:49
by Jan
Hi, you can customize it for your needs in the template.

e.g.
components/com_phocagallery/views/categories/tmpl/

Jan

Re: Website Page Title BEFORE Site Name

Posted: 09 May 2012, 15:24
by tsaimsbond
Hi Jan, thanks for your help.
I found half of the solution on this file: components\com_phocagallery\views\categories\view.html.php line 352.
I re-order the elements "$title", "htmlspecialchars_decode($app->getCfg('sitename'))".
"...
} else if ($app->getCfg('sitename_pagetitles', 0)) {
$title = JText::sprintf('JPAGETITLE', $title, htmlspecialchars_decode($app->getCfg('sitename')));
}
..."
But styl the title changes back? when i go one step further to view the pics inside a category.
Any suggestions?

Re: Website Page Title BEFORE Site Name

Posted: 09 May 2012, 18:33
by Jan
Not sure what you mean with title changes back? Is this still the same view?

Re: Website Page Title BEFORE Site Name

Posted: 09 May 2012, 22:35
by tsaimsbond
Ok, on the first step (i managed to solve that as i mentioned above)..i'm in "pg-categories-view", then i click on a category and i go to "pg-category-view".
When i'm in "pg-category-view" the page-title problem "comes back".