[Skip to main content](#vessel-content)

#   Breadcrumbs broken when using carousel

##

- **[svanschu](/forum/user/32672-svanschu "View svanschu's Profile")**
- [![svanschu's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32672-svanschu "View svanschu's Profile") Topic Author
- [ Offline](/forum/user/32672-svanschu)

Less More

- Posts: 36
- Thank you received: 0
-
-

12 years 5 months ago [\#159647](#159647) by [svanschu](/forum/user/32672-svanschu "View svanschu's Profile")  *[Breadcrumbs broken when using carousel](/forum/43-carousel-slider/868894-breadcrumbs-broken-when-using-carousel#159647 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 2.3.2 -- PHP version -- : x.x.x -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  When I create a category carousel and click on a category shown in it. I get to the category, but the breadcrumbs show all categories and not the real path.  For example: Real path  path shown after clicking on carousel  What goes wrong?")* was created by *[svanschu](/forum/user/32672-svanschu "View svanschu's Profile")*

-- url of the page with the problem -- : [ mywebsite.com/mypage](http://mywebsite.com/mypage)
-- HikaShop version -- : 2.3.1
-- Joomla version -- : 2.3.2
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : Error_message

When I create a category carousel and click on a category shown in it. I get to the category, but the breadcrumbs show all categories and not the real path.

For example: Real path

> Startseite &gt; Edelrosen

path shown after clicking on carousel

> Startseite &gt; Edelrosen &gt; Rosen &gt; Zwergrosen &gt; Kletterrosen &gt; Strauchrosen &gt; Englische und Romantische Rosen &gt; Rugosarosen &gt; Historische Rosen &gt; Bodendeckerrosen &gt; Wildrosen &gt; Rosenbegleiter &gt; Stauden &gt; Kräuter &gt; Clematis &gt; Gehölze &gt; Rosenpflege &gt; Dünger &gt; Pflanzenpflege &gt; Werkzeug und Material &gt; Bücher &gt; Rosenlädchen &gt; Kosmetik &gt; Kulinarisches &gt; Bücher

What goes wrong?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2Nhcm91c2VsLXNsaWRlci84Njg4OTQtYnJlYWRjcnVtYnMtYnJva2VuLXdoZW4tdXNpbmctY2Fyb3VzZWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86363
- Thank you received: 14296
-
-

12 years 4 months ago [\#159655](#159655) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Breadcrumbs broken when using carousel](/forum/43-carousel-slider/868894-breadcrumbs-broken-when-using-carousel#159655 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 2.3.2 -- PHP version -- : x.x.x -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  When I create a category carousel and click on a category shown in it. I get to the category, but the breadcrumbs show all categories and not the real path.  For example: Real path  path shown after clicking on carousel  What goes wrong?")*

Hi,

Could you provide a screenshot of the HikaShop options of your module so that we can see what you did ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2Nhcm91c2VsLXNsaWRlci84Njg4OTQtYnJlYWRjcnVtYnMtYnJva2VuLXdoZW4tdXNpbmctY2Fyb3VzZWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[svanschu](/forum/user/32672-svanschu "View svanschu's Profile")**
- [![svanschu's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32672-svanschu "View svanschu's Profile") Topic Author
- [ Offline](/forum/user/32672-svanschu)

Less More

- Posts: 36
- Thank you received: 0
-
-

12 years 4 months ago [\#159946](#159946) by [svanschu](/forum/user/32672-svanschu "View svanschu's Profile")  Replied by *[svanschu](/forum/user/32672-svanschu "View svanschu's Profile")* on topic *[Breadcrumbs broken when using carousel](/forum/43-carousel-slider/868894-breadcrumbs-broken-when-using-carousel#159946 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 2.3.2 -- PHP version -- : x.x.x -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  When I create a category carousel and click on a category shown in it. I get to the category, but the breadcrumbs show all categories and not the real path.  For example: Real path  path shown after clicking on carousel  What goes wrong?")*

Here are two screenshots of the config of the carousel module

- [ ![h1d11ca1.png](/forum/attachment/17843) ](/forum/attachment/17843 "h1d11ca1.png") [ ](/forum/attachment/17843?download=1 "h1d11ca1.png")
- [ ![h7188dda.png](/forum/attachment/17844) ](/forum/attachment/17844 "h7188dda.png") [ ](/forum/attachment/17844?download=1 "h7188dda.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2Nhcm91c2VsLXNsaWRlci84Njg4OTQtYnJlYWRjcnVtYnMtYnJva2VuLXdoZW4tdXNpbmctY2Fyb3VzZWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86363
- Thank you received: 14296
-
-

12 years 4 months ago [\#159949](#159949) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Breadcrumbs broken when using carousel](/forum/43-carousel-slider/868894-breadcrumbs-broken-when-using-carousel#159949 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 2.3.2 -- PHP version -- : x.x.x -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  When I create a category carousel and click on a category shown in it. I get to the category, but the breadcrumbs show all categories and not the real path.  For example: Real path  path shown after clicking on carousel  What goes wrong?")*

Hi,

Can you click on the "rebuild" button of the categories listing in your HikaShop backend ? It might help fix the problem if it comes from a broken category tree.
If not, could you turn on the debug mode and error reporting options of the Joomla configuration and look at the page with the wrong breadcrumb again ? could you provide a copy of the queries logged at the bottom of the page so that we can see what's going on ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2Nhcm91c2VsLXNsaWRlci84Njg4OTQtYnJlYWRjcnVtYnMtYnJva2VuLXdoZW4tdXNpbmctY2Fyb3VzZWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[svanschu](/forum/user/32672-svanschu "View svanschu's Profile")**
- [![svanschu's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32672-svanschu "View svanschu's Profile") Topic Author
- [ Offline](/forum/user/32672-svanschu)

Less More

- Posts: 36
- Thank you received: 0
-
-

12 years 4 months ago -  12 years 4 months ago [\#161156](#161156) by [svanschu](/forum/user/32672-svanschu "View svanschu's Profile")  Replied by *[svanschu](/forum/user/32672-svanschu "View svanschu's Profile")* on topic *[Breadcrumbs broken when using carousel](/forum/43-carousel-slider/868894-breadcrumbs-broken-when-using-carousel#161156 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 2.3.2 -- PHP version -- : x.x.x -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  When I create a category carousel and click on a category shown in it. I get to the category, but the breadcrumbs show all categories and not the real path.  For example: Real path  path shown after clicking on carousel  What goes wrong?")*

For the first I get this after rebuild which looks kind better Code:

Menu item for category listing module 115 &gt; Rosen &gt; Historische Rosen

How I get rid of the "Menu item of blabla"?

And more interesting for me I create the categories and products throw an import of an XML file of a ERP System. Is it possible that I missed something when I created the categories with my import? That's the code I wrote for it [ github.com/svanschu/WinArboR-HikaShop-Br...or/models/import.php](https://github.com/svanschu/WinArboR-HikaShop-Bridge/blob/master/com_winarbor/administrator/components/com_winabor/models/import.php)

Thank you

Last edit: 12 years 4 months ago by [svanschu](/forum/user/32672-svanschu "View svanschu's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2Nhcm91c2VsLXNsaWRlci84Njg4OTQtYnJlYWRjcnVtYnMtYnJva2VuLXdoZW4tdXNpbmctY2Fyb3VzZWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86363
- Thank you received: 14296
-
-

12 years 4 months ago [\#161172](#161172) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Breadcrumbs broken when using carousel](/forum/43-carousel-slider/868894-breadcrumbs-broken-when-using-carousel#161172 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 2.3.2 -- PHP version -- : x.x.x -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  When I create a category carousel and click on a category shown in it. I get to the category, but the breadcrumbs show all categories and not the real path.  For example: Real path  path shown after clicking on carousel  What goes wrong?")*

Hi,

1. That is your menu item name. You can go in the Joomla menu manager and change the name of your menu item to something else if you want something else.

2. That's a lot of code to analyze. I didn't find any code relative to the creation of menu items on your code so I don't think that it comes from the import (but maybe I overlooked something?). I think that it's just the joomla menu items tree which was screwed up (it can happen when you have issues with install/uninstall processes, some extensions not handling the menu items properly, etc. It's hard to say exactly why you would have had that on your website). The rebuild button helped fix that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2Nhcm91c2VsLXNsaWRlci84Njg4OTQtYnJlYWRjcnVtYnMtYnJva2VuLXdoZW4tdXNpbmctY2Fyb3VzZWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[svanschu](/forum/user/32672-svanschu "View svanschu's Profile")**
- [![svanschu's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32672-svanschu "View svanschu's Profile") Topic Author
- [ Offline](/forum/user/32672-svanschu)

Less More

- Posts: 36
- Thank you received: 0
-
-

12 years 4 months ago [\#161462](#161462) by [svanschu](/forum/user/32672-svanschu "View svanschu's Profile")  Replied by *[svanschu](/forum/user/32672-svanschu "View svanschu's Profile")* on topic *[Breadcrumbs broken when using carousel](/forum/43-carousel-slider/868894-breadcrumbs-broken-when-using-carousel#161462 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 2.3.2 -- PHP version -- : x.x.x -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  When I create a category carousel and click on a category shown in it. I get to the category, but the breadcrumbs show all categories and not the real path.  For example: Real path  path shown after clicking on carousel  What goes wrong?")*

1. Ok need to play with it. The menüitemname should be "Rosen" which is the second part of the breadcrumb (it is also a category name)

2. Totaly understandable. This is the part I create category. Did I miss something? I don't create menus when I create categories. Code:

/** * @param $name * @param $beschreibung * @param $parentId * @param $categoryDepth * @return mixed */ private function createProductCategory($name, $beschreibung, $parentId, $categoryDepth) { $db = JFactory::getDbo(); $query = $db-&gt;getQuery(true); $time = time(); $query-&gt;insert('#__hikashop_category') -&gt;set('category_name = \'' . $name . '\'') -&gt;set('category_alias = \'' . JFilterOutput::stringURLSafe($name) . '\'') -&gt;set('category_description = \'' . $beschreibung . '\'') -&gt;set('category_type = \'product\'') -&gt;set('category_parent_id = ' . $parentId) -&gt;set('category_published = 1') -&gt;set('category_depth = ' . $categoryDepth) -&gt;set('category_created = ' . $time) -&gt;set('category_modified = ' . $time) -&gt;set('category_namekey = \'product_' . $time . '_' . rand() . '\''); $db-&gt;setQuery($query); $db-&gt;execute(); return $db-&gt;insertid(); }

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2Nhcm91c2VsLXNsaWRlci84Njg4OTQtYnJlYWRjcnVtYnMtYnJva2VuLXdoZW4tdXNpbmctY2Fyb3VzZWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86363
- Thank you received: 14296
-
-

12 years 4 months ago [\#161485](#161485) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Breadcrumbs broken when using carousel](/forum/43-carousel-slider/868894-breadcrumbs-broken-when-using-carousel#161485 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 2.3.2 -- PHP version -- : x.x.x -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  When I create a category carousel and click on a category shown in it. I get to the category, but the breadcrumbs show all categories and not the real path.  For example: Real path  path shown after clicking on carousel  What goes wrong?")*

1. Then you'll end up with Rosen twice in the breadcrumb no ?

2. Yes, you're missing the category_left and category_right columns.
Actually when you add categories, it's a complex process as the whole category tree needs to have its left and right updated as per the binary tree structure principles. The Rebuild button actually fixes the left/right values of all the categories.
The best would actually be to use the save function of the class.category class of HikaShop which handles that automatically for you.
Otherwise, you can have your own queries and then use the rebuild system of HikaShop at the end:
[ www.hikashop.com/support/forum/2-general...sql-script.html#8552](http://www.hikashop.com/support/forum/2-general-talk-about-hikashop/8527-import-sql-script.html#8552)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2Nhcm91c2VsLXNsaWRlci84Njg4OTQtYnJlYWRjcnVtYnMtYnJva2VuLXdoZW4tdXNpbmctY2Fyb3VzZWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[svanschu](/forum/user/32672-svanschu "View svanschu's Profile")**
- [![svanschu's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32672-svanschu "View svanschu's Profile") Topic Author
- [ Offline](/forum/user/32672-svanschu)

Less More

- Posts: 36
- Thank you received: 0
-
-

12 years 4 months ago [\#162680](#162680) by [svanschu](/forum/user/32672-svanschu "View svanschu's Profile")  Replied by *[svanschu](/forum/user/32672-svanschu "View svanschu's Profile")* on topic *[Breadcrumbs broken when using carousel](/forum/43-carousel-slider/868894-breadcrumbs-broken-when-using-carousel#162680 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 2.3.2 -- PHP version -- : x.x.x -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  When I create a category carousel and click on a category shown in it. I get to the category, but the breadcrumbs show all categories and not the real path.  For example: Real path  path shown after clicking on carousel  What goes wrong?")*

1. Sync with the menu item done what I've wanted

2. Thx I will look into it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2Nhcm91c2VsLXNsaWRlci84Njg4OTQtYnJlYWRjcnVtYnMtYnJva2VuLXdoZW4tdXNpbmctY2Fyb3VzZWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.100 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
