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???
Website Page Title BEFORE Site Name
- Jan
- Phoca Hero
- Posts: 48913
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Website Page Title BEFORE Site Name
Hi, you can customize it for your needs in the template.
e.g.
components/com_phocagallery/views/categories/tmpl/
Jan
e.g.
components/com_phocagallery/views/categories/tmpl/
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 30 Apr 2012, 13:34
Re: Website Page Title BEFORE Site Name
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?
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?
- Jan
- Phoca Hero
- Posts: 48913
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Website Page Title BEFORE Site Name
Not sure what you mean with title changes back? Is this still the same view?
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 30 Apr 2012, 13:34
Re: Website Page Title BEFORE Site Name
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".
When i'm in "pg-category-view" the page-title problem "comes back".