How to remove site name from category view (image list)

Phoca Gallery - image gallery extension
bvneck
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 03 Aug 2010, 11:32

How to remove site name from category view (image list)

Post by bvneck »

Hi,

I have a problem with my phoca gallery which I can't solve:

The Title/componentheading of the category view (image list) is like this "site name - category title".

I want to remove the site name and have only the category title displayed here.

All is fine when the category view is accessed via a menu item, because I solved it through the menu item settings. But when the category view is accessed via the phoca gallery module I just can't solve it...

I hope someone can help! Thanx in advance.
bvneck
webansvarlig
Phoca Enthusiast
Phoca Enthusiast
Posts: 53
Joined: 01 Feb 2008, 03:09

Re: How to remove site name from category view (image list)

Post by webansvarlig »

You can create a category and use it as the "root". Then the site name will disappear.
bvneck
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 03 Aug 2010, 11:32

Re: How to remove site name from category view (image list)

Post by bvneck »

Thanks. I created a new category "root" and put my category into it as a subcategory - but that didn't help. Did I get that wrong?
webansvarlig
Phoca Enthusiast
Phoca Enthusiast
Posts: 53
Joined: 01 Feb 2008, 03:09

Re: How to remove site name from category view (image list)

Post by webansvarlig »

You don't need to call it "root", call it what you want. Then go to your preferred menu. And create a menu item that points to the "root" category. Then you will get rid of the site name.
bvneck
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 03 Aug 2010, 11:32

Re: How to remove site name from category view (image list)

Post by bvneck »

My problem doesn't occur when I create a menu item an link it to the phoca category. All is fine then.

My Problem occurs when I use the Phoca Gallery Image Module (mod_phocagallery_image ) to display a random image from a category. When I click on the random image, the image list from is displayed with the "wrong" title.

Look here (click on the image beneath "Sonderangebote ..."): http://www.das-parkett-in-duesseldorf.de/
I don't want the "www.das-parkett-in-duesseldorf.de" - I only want the "Sonderangebote August 2010" which is the category title.

Another problem: when I click an image in the category view (image list) there is a "500 error". Maybe both problems have the same reason?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to remove site name from category view (image list)

Post by Jan »

Hi, see:
https://www.phoca.cz/documents/16-joomla ... -in-joomla


Seems like the itemid is missing in link created by module.

Jan
If you find Phoca extensions useful, please support the project
bvneck
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 03 Aug 2010, 11:32

Re: How to remove site name from category view (image list)

Post by bvneck »

Thanks for setting me on the right track! When I don't use search engine friendly urls at least the "page not found" error doesn't occur any more. The "double" title is still there though...

Since I can't do without SEF urls I tried the described solution in the Phoca FAQ (i.e. creating a menu link) but that doesn't work either (maybe because I am using more than one Phoca Gallery on the web site).

So the only solution seems to be NOT to use the Phoca Gallery Image Module ... I am not happy about that!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to remove site name from category view (image list)

Post by Jan »

Hi, if there are more links to Phoca Gallery, the script will try to find the link to categories view, if it does not find it then it will try to find some link to category view.

Jan
If you find Phoca extensions useful, please support the project
Post Reply