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

#   Menu synchronization with category listing

##

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

Less More

- Posts: 13
- Thank you received: 0
-
-

14 years 4 months ago [\#52261](#52261) by [LVlidbiters](/forum/user/5752-lvlidbiters "View LVlidbiters's Profile")  *[Menu synchronization with category listing](/forum/4-how-to/52261-menu-synchronization-with-category-listing#52261 "Hi, guys!  I have been confused lately with a question on how to synchronize a menu with category listing. I you think about it, this is an issue about all Joomla category based components.  Let me explain:  I have a two level category tree and a menu, which replicates that same category tree. So I can get to any subcategory in two ways - either by clicking on the menu item or by clicking the item in the category listing. The links are mysite.com/pipes/circular-pipes and mysite.com/pipes/category/23-circular-pipes accordingly.  The problems are two: 1) If I click the second link, menu item, which also leads to that category, is not marked as active, 2) Google doesn't like duplicate content.  I am sure there is a way to 'tie' content with a menu item, but how do you do it? Canonical links only fix the second issue.")* was created by *[LVlidbiters](/forum/user/5752-lvlidbiters "View LVlidbiters's Profile")*

Hi, guys!

I have been confused lately with a question on how to synchronize a menu with category listing. I you think about it, this is an issue about all Joomla category based components.

Let me explain:

I have a two level category tree and a menu, which replicates that same category tree. So I can get to any subcategory in two ways - either by clicking on the menu item or by clicking the item in the category listing. The links are mysite.com/pipes/circular-pipes and mysite.com/pipes/category/23-circular-pipes accordingly.

The problems are two:
1) If I click the second link, menu item, which also leads to that category, is not marked as active,
2) Google doesn't like duplicate content.

I am sure there is a way to 'tie' content with a menu item, but how do you do it? Canonical links only fix the second issue.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUyMjYxLW1lbnUtc3luY2hyb25pemF0aW9uLXdpdGgtY2F0ZWdvcnktbGlzdGluZz90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

14 years 4 months ago [\#52327](#52327) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Menu synchronization with category listing](/forum/4-how-to/52261-menu-synchronization-with-category-listing#52327 "Hi, guys!  I have been confused lately with a question on how to synchronize a menu with category listing. I you think about it, this is an issue about all Joomla category based components.  Let me explain:  I have a two level category tree and a menu, which replicates that same category tree. So I can get to any subcategory in two ways - either by clicking on the menu item or by clicking the item in the category listing. The links are mysite.com/pipes/circular-pipes and mysite.com/pipes/category/23-circular-pipes accordingly.  The problems are two: 1) If I click the second link, menu item, which also leads to that category, is not marked as active, 2) Google doesn't like duplicate content.  I am sure there is a way to 'tie' content with a menu item, but how do you do it? Canonical links only fix the second issue.")*

Hi,

Usually, instead of having menu items, you can create a HikaShop category listing module with the layout "list". Then, with the ul class name and the module class sfx options of the module, you can get it to display using your template's menu styling.
The module will display dynamically the categories, so there is no synchro problem and in the module you can configure a menu item in the "menu" option so that all the category links of that module will use the same menu item, avoid content duplication.
A result of such setup can be the "CATEGORIES OF PRODUCT" module that you can see on the left of our demo website.

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

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

Less More

- Posts: 13
- Thank you received: 0
-
-

14 years 4 months ago [\#52448](#52448) by [LVlidbiters](/forum/user/5752-lvlidbiters "View LVlidbiters's Profile")  Replied by *[LVlidbiters](/forum/user/5752-lvlidbiters "View LVlidbiters's Profile")* on topic *[Re: Menu synchronization with category listing](/forum/4-how-to/52261-menu-synchronization-with-category-listing#52448 "Hi, guys!  I have been confused lately with a question on how to synchronize a menu with category listing. I you think about it, this is an issue about all Joomla category based components.  Let me explain:  I have a two level category tree and a menu, which replicates that same category tree. So I can get to any subcategory in two ways - either by clicking on the menu item or by clicking the item in the category listing. The links are mysite.com/pipes/circular-pipes and mysite.com/pipes/category/23-circular-pipes accordingly.  The problems are two: 1) If I click the second link, menu item, which also leads to that category, is not marked as active, 2) Google doesn't like duplicate content.  I am sure there is a way to 'tie' content with a menu item, but how do you do it? Canonical links only fix the second issue.")*

Thank you for your reply.
I took a look at it, but it doesn't meet my requirements. I have to display a menu tree along with all products there. If a category has a product and a subcategory, I need them both to be shown in the menu. I also noticed that active subcategories aren't marked as active in the listing module.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUyMjYxLW1lbnUtc3luY2hyb25pemF0aW9uLXdpdGgtY2F0ZWdvcnktbGlzdGluZz90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

14 years 4 months ago [\#52519](#52519) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Menu synchronization with category listing](/forum/4-how-to/52261-menu-synchronization-with-category-listing#52519 "Hi, guys!  I have been confused lately with a question on how to synchronize a menu with category listing. I you think about it, this is an issue about all Joomla category based components.  Let me explain:  I have a two level category tree and a menu, which replicates that same category tree. So I can get to any subcategory in two ways - either by clicking on the menu item or by clicking the item in the category listing. The links are mysite.com/pipes/circular-pipes and mysite.com/pipes/category/23-circular-pipes accordingly.  The problems are two: 1) If I click the second link, menu item, which also leads to that category, is not marked as active, 2) Google doesn't like duplicate content.  I am sure there is a way to 'tie' content with a menu item, but how do you do it? Canonical links only fix the second issue.")*

Indeed, if you want to display products along with the subcategories, it doesn't meet your requirements.

That's not what I see here:
[ www.demo.hikashop.com/index.php?option=c...re&amp;Itemid=78&amp;lang=en](http://www.demo.hikashop.com/index.php?option=com_hikashop&ctrl=category&task=listing&cid=36&name=nature&Itemid=78&lang=en)
The current subcategory is marked as active.

I don't know all the details of the maxi menu extension but maybe it would be able to support what you want via that extension:
[ www.joomlack.fr/en/joomla-extension-maxi...ch-maximenu-hikashop](http://www.joomlack.fr/en/joomla-extension-maximenu/patch-maximenu-hikashop)
You might want to ask their support for more information on its capabilities.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUyMjYxLW1lbnUtc3luY2hyb25pemF0aW9uLXdpdGgtY2F0ZWdvcnktbGlzdGluZz90bXBsPW1hcmtkb3du) 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.375 seconds

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

[](#top)
