Title Tag - Website name is before the Phoca Gallery page.

Phoca Gallery - image gallery extension
nemmar
Phoca Enthusiast
Phoca Enthusiast
Posts: 63
Joined: 13 Mar 2014, 18:55

Title Tag - Website name is before the Phoca Gallery page.

Post by nemmar »

Hi,

I have my Joomla 2.5.19 Global Config settings of Include Site Name In Page Title set to "After" in the Title Tags.

This works correctly on all my site pages except Phoca Gallery lists the site name before, not after the Phoca page name in the Title Tags.

I searched and found this post in the forum but it's 2 years old and I was wondering if there's an updated feature or setting that does not involve a core edit:
viewtopic.php?f=1&t=19628

If there is no setting/option in Phoca control panel to fix this, then is that forum post from 2 years ago still accurate for reversing the Site Name so it displays after the Phoca page name in Title Tags?

Thanks for any advice!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Title Tag - Website name is before the Phoca Gallery pag

Post by Jan »

Hi, which version of Phoca Gallery you are using?
If you find Phoca extensions useful, please support the project
nemmar
Phoca Enthusiast
Phoca Enthusiast
Posts: 63
Joined: 13 Mar 2014, 18:55

Re: Title Tag - Website name is before the Phoca Gallery pag

Post by nemmar »

Hi Jan,

I am using Phoca version 3.2.7 and my site is Joomla 2.5.19

Thanks.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Title Tag - Website name is before the Phoca Gallery pag

Post by Jan »

Hi, you can modify it in output files to fit your needs:

components\com_phocagallery\views\categories\tmpl\default.php
components\com_phocagallery\views\category\tmpl\default.php

Jan
If you find Phoca extensions useful, please support the project
nemmar
Phoca Enthusiast
Phoca Enthusiast
Posts: 63
Joined: 13 Mar 2014, 18:55

Re: Title Tag - Website name is before the Phoca Gallery pag

Post by nemmar »

Hi Jan,

I downloaded those two Phoca files but can you tell me what lines of code and how I need to edit them to fix this problem?

Thanks.
nemmar
Phoca Enthusiast
Phoca Enthusiast
Posts: 63
Joined: 13 Mar 2014, 18:55

Re: Title Tag - Website name is before the Phoca Gallery pag

Post by nemmar »

Hi,
Can you tell me where and how I should edit the two output files to fix the reversed Title Tags?

components\com_phocagallery\views\categories\tmpl\default.php
components\com_phocagallery\views\category\tmpl\default.php
nemmar wrote: I downloaded those two Phoca files but can you tell me what lines of code and how I need to edit them to fix this problem?
Thanks.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Title Tag - Website name is before the Phoca Gallery pag

Post by Jan »

Hi, for now I didn't do such customization, so I cannot give any clue advice :idea:

Jan
If you find Phoca extensions useful, please support the project
nemmar
Phoca Enthusiast
Phoca Enthusiast
Posts: 63
Joined: 13 Mar 2014, 18:55

Re: Title Tag - Website name is before the Phoca Gallery pag

Post by nemmar »

Hi Jan,

I just upgraded my sites to Joomla 3.3.4 and Phoca Gallery to 4.1.1 and I have my Joomla Global Config settings to Include Site Name In Page Title set to "After" in the Title Tags.

This works correctly on all my site pages except Phoca Gallery lists the site name before, not after the Phoca page name in the Title Tags.

Is there a setting to fix this in Phoca Gallery 4.1.1?

Thanks for any advice!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Title Tag - Website name is before the Phoca Gallery pag

Post by Jan »

Hi, what you exactly mean? Phoca Gallery displays the page name - category? Can you paste a screenshot what you exactly mean?

Jan
If you find Phoca extensions useful, please support the project
nemmar
Phoca Enthusiast
Phoca Enthusiast
Posts: 63
Joined: 13 Mar 2014, 18:55

Re: Title Tag - Website name is before the Phoca Gallery pag

Post by nemmar »

Jan wrote:Hi, what you exactly mean? Phoca Gallery displays the page name - category? Can you paste a screenshot what you exactly mean? Jan
Hi Jan,

I have Joomla 3.3.4 and I am referring to the Title Tag settings that display in the source code for SEO.

I have the site name setting: Global Configuration > Site Settings > Site Name
Then I have the SEO Page Title setting: Global Configuration > SEO settings > Include Site Name in Page Titles > After

This works correctly for all of my site pages and Joomla puts the Global Config site name after the site page name that you're viewing.
The problem is that Phoca Gallery reverses this order and puts the site name first and the Phoca page name last in the Title Tag of the source code.

Is there a way to fix this in Phoca Gallery?

Thanks.
Last edited by nemmar on 01 Oct 2014, 01:24, edited 1 time in total.
Post Reply