Wrong menu after click on a category

Phoca Gallery - image gallery extension
gppsachsen
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 07 Jun 2016, 03:27

Wrong menu after click on a category

Post by gppsachsen »

Hello Phoca -Team,

after updating from 4.2.1 to 4.3.0 I have a strange behavior.

My link to the gallery is like this: /index.php/galerie
and I can see all my Categories. If I hover over the hyperlink or click on this it´s redirect me to total different location like this:
index.php/menu1/menu2/menu3/category/album instead of index.php/galerie/category/album

It was working fine before the change. Any idea which setting is wrong?

Thanks for your support / help.

Michael
gppsachsen
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 07 Jun 2016, 03:27

Re: Wrong menu after click on a category

Post by gppsachsen »

maybe you need to have an example what I mean:

this is my gallery:
<delete the url>

if I click on any of the categories name I expect (example):
<delete the url> (if I paste this link manualy it´s working perfectly)

but instead the hyperlink is routing me to (example):
<delete the url>

What is wrong? Where the additional path (rennen-ponickau/2015/bilder/) come from?

Any idea?
Last edited by gppsachsen on 14 Jun 2016, 14:11, edited 1 time in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48770
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Wrong menu after click on a category

Post by Jan »

Hi, yes, this is not correct.

There is a menu link to categories view:
http://www.picardellics.de/index.php/re ... 015/bilder

and this should be not used.

Try to download this ZIP file ( https://www.phoca.cz/forumfiles/route.zip ), and try to unzip it to this folder:

administrator\components\com_phocagallery\libraries\phocagallery\path\

the route.php file will be overwritten.

Please let me know if this is OK after the change.

Thank you, Jan
If you find Phoca extensions useful, please support the project
gppsachsen
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 07 Jun 2016, 03:27

Re: Wrong menu after click on a category

Post by gppsachsen »

Jan wrote: Please let me know if this is OK after the change.
:twisted: Hello Jan,
it´s working perfectly. Many many thanks to you - that was a simple fix. :twisted:

Now, what I did wrong?
You wrote:
There is a menu link to categories view:
http://www.picardellics.de/index.php/re ... 015/bilder
and this should be not used.
how should I change it?
jb80
Phoca Enthusiast
Phoca Enthusiast
Posts: 59
Joined: 16 Feb 2013, 16:53

Re: Wrong menu after click on a category

Post by jb80 »

I was experiencing the same issue following upgrade to v4.3.0.

Updated
route.php
and now my issue is resolved. Thank you :D
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48770
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Wrong menu after click on a category

Post by Jan »

Hi, "this should be not used" I meant the script, the quick fix should fix it.

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