- Posts: 35
COMMUNITY FORUM
K2 Item assigned to menu
- Alex
-
Topic Author
- Offline
- Junior Member
I got a page with products. My menu holds "Products" with Submenu "Productsearch" and Porduct categories".
Productsearch is a search of K2 items. "Product categories" holds submenus with all k2 categories, wich are asigned to these submenus.
Now my problem.
If i go "Producs->Prodcuct category->'category of item'" and choose an item, the breadcrumb is correct.
If i go to K2 search and choose an k2 item, my breadcrumb says "Producs->Prodcuct category->'category of item'". But i want to show "Products->Product search", so i can go back to my search.
Someone got a solution for me?
Thanks!
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
K2's breadcrumbs or mod_breadcrumbs?
Please Log in or Create an account to join the conversation.
- Alex
-
Topic Author
- Offline
- Junior Member
- Posts: 35
Krikor wrote: Which Breadcrumbs are you using?
K2's breadcrumbs or mod_breadcrumbs?
mod_breadcrumbs
Please Log in or Create an account to join the conversation.
- Alex
-
Topic Author
- Offline
- Junior Member
- Posts: 35
It looks like the item is assigned to the menu, its category is assigned to.
What can i do to solve this. Any idea?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
K2 tools will instead use the category path of the item.
How is that menu item being generated? Is it a K2 Category?Productsearch is a search of K2 items
Please Log in or Create an account to join the conversation.
- Alex
-
Topic Author
- Offline
- Junior Member
- Posts: 35
Krikor wrote: If you want to follow the menu structure, you need to use mod_breadcrumbs.
K2 tools will instead use the category path of the item.
How is that menu item being generated? Is it a K2 Category?Productsearch is a search of K2 items
Okay, i use the mod_breadcrumbs.
It is a modul, which lists all items, and i can filter them by extra fields. Nothing with categorys.
When i click on an k2 item there, bradcrumbs says i went there by "Producs->Prodcuct category->'category of item'" wich would also be possible, but i went there by "Producs->Prodcuctsearch". And i want bradcumbs to show this path, if i use this path.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
If yes try moving it to a category (eg: a hidden one) where it not mapped in a menu item.
Please Log in or Create an account to join the conversation.
- Alex
-
Topic Author
- Offline
- Junior Member
- Posts: 35
Krikor wrote: Is the search item's category mapped into a menu item as well?
If yes try moving it to a category (eg: a hidden one) where it not mapped in a menu item.
to make sure i understand you.
I got K2 categories: "Product database" with subcategories "product category 1", "product category 2", "product category 3" ...
The same with Menu. I got Menu: "Products -> Product categorys -> product category 1" and i assigned k2 categorys to the corresponding menu items.
In additional i got the Menu point "Products -> Productsearch". There is assigned a filterable itemlist. It shows all items (also childs) of category "Product database".
You mean i should do a category "Product search"? All my items are assinged to subcategorys of Product database.
Or do i understand wrong?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Which category does the Product search belong to ?
Please Log in or Create an account to join the conversation.
- Alex
-
Topic Author
- Offline
- Junior Member
- Posts: 35
Krikor wrote: Can you send me a screenshot of your menu structure?
Which category does the Product search belong to ?
Here the image of the menu
The product search belongs to no category.
But i think it doenst depend on the product search.
If i create a new menue with the same category, the breadcrumb also says it belongs to for example "Products -> Product categorys -> Software" . Maybe because its k2 category was asociated there first?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Since this is an extension developed by a 3rd party, you should address this issue to the extension's developers.
Please Log in or Create an account to join the conversation.
- Alex
-
Topic Author
- Offline
- Junior Member
- Posts: 35
Krikor wrote: I assume the product filter menu item is the product search we were talking about.
Since this is an extension developed by a 3rd party, you should address this issue to the extension's developers.
Yes, you are right, but it is the same, when i use a random K2 category instead. Like i wrote above.
Is this a strange behaviour here, or is this just normal, that the beadcrumbs follows the first assinged menu item, which the category is assigned to.
To sum up: I assign one k2 category to two differtent menu items. If i follow the first assigned menu path adn open an k2 item there, the breadcrumbs is correct.
If i follow the second menu item, and open the k2 item there, the breadcrumbs also shows the path of the first one.
I just try to figuere out, if this is normal.
Please Log in or Create an account to join the conversation.