Categories View Breadcrumb ID's.

Phoca Gallery - image gallery extension
Locked
User avatar
europower
Phoca Member
Phoca Member
Posts: 10
Joined: 20 May 2009, 15:53
Location: Belgium
Contact:

Categories View Breadcrumb ID's.

Post by europower »

We have a problem with Breadcrumbs and the links to subcategories in Categories view.

We currently have the following categories:

Code: Select all

Logo's(main)
Events(main)
Visits(main)
Field Of Activity(main)
	Agriculture(sub of Field Of Activity)
	Airport(sub of Field Of Activity)
		Generators(sub of Airport)
We've got menu items wich each point to a categories view for the main categories. Now when we click on one of these menu items, we arrive at the right categories view, no problem there. But the links for the subcategories are wrong. For example:

When we go to the Field Of Activity page and click on the subcategory Airport, the link is: "/index.php?option=com_phocagallery&view=category&id=109:Airports&itemid=198"

But the menu-item ID 198 is from Logo's, not Field of Activity. If we disable the Logo's menu-item, it takes the next lowest menu-item ID in the database that points to a phoca gallery categories view item, which in our case is Events. This messes up the breadcrumbs and navigating between the categories.

Any way to fix this?

Problem occurs on Joomla 2.5.11 with phoca gallery version 3.2.3.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Categories View Breadcrumb ID's.

Post by Jan »

Hi, unfortunatelly, there is no way to somehow solve it - it is a Joomla! feature to create SEF by menu links but it is systematic and the tree does not know before, there are more menu links (to work it 100% correctly, then the Joomla! shold have only one menu link to each component, not more :-( :-( )
https://www.phoca.cz/documents/16-joomla ... -in-joomla

Jan
If you find Phoca extensions useful, please support the project
User avatar
europower
Phoca Member
Phoca Member
Posts: 10
Joined: 20 May 2009, 15:53
Location: Belgium
Contact:

Re: Categories View Breadcrumb ID's.

Post by europower »

Hi Jan,
There is a way to solve this problem. We did it with the search - breadcrumbs problem viewtopic.php?f=33&t=23685

and with some output override we where able to solve the breadcrumbs mystery.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Categories View Breadcrumb ID's.

Post by Jan »

Hi, will be great you can paste the modifications here and describe in which version you have modified it. :idea:

Jan
If you find Phoca extensions useful, please support the project
User avatar
europower
Phoca Member
Phoca Member
Posts: 10
Joined: 20 May 2009, 15:53
Location: Belgium
Contact:

Re: Categories View Breadcrumb ID's.

Post by europower »

Hi Jan,
Follow this topic at viewtopic.php?f=33&t=23685
Locked