- Posts: 30
- Thank you received: 0
Module not going to correct menu item
13 years 5 months ago #102651
by code7
Module not going to correct menu item was created by code7
Hi guys,
I have a site set up with a menu item for each category/sub-category etc and following links within hikashop always takes me to the correct itemid which is super. However on the home page of the site I have a module showing categories and when I follow the links in these it doesn't seem to use the correct itemid for the category's menu item.
I've made sure in the options that the menu to use is set to none as I have with other things.
Any help would be greatly appreciated.
I have a site set up with a menu item for each category/sub-category etc and following links within hikashop always takes me to the correct itemid which is super. However on the home page of the site I have a module showing categories and when I follow the links in these it doesn't seem to use the correct itemid for the category's menu item.
I've made sure in the options that the menu to use is set to none as I have with other things.
Any help would be greatly appreciated.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #102684
by Xavier
Replied by Xavier on topic Module not going to correct menu item
Hi,
Try to change the menu option from none to an existing one.
Try to change the menu option from none to an existing one.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #102691
by code7
Replied by code7 on topic Module not going to correct menu item
The issue with doing that would be that I have different modules etc set up on different menu items that I need on these pages when I click through to them. If I set it to one then that will always load in those modules no? Whereas if I click a sub category from a category it does what I want.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #102717
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Module not going to correct menu item
Hi,
Do you have a link to see your problem directly ?
Thanks,
Do you have a link to see your problem directly ?
Thanks,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #102720
by code7
Replied by code7 on topic Module not going to correct menu item
Thanks!
Sure thing:
code7dev7.co.uk/
If you go to say, clothing and click into a category from there it uses the correct menu item for that sub category however if you access that same category from the three boxes on the home page it does not use the correct menu item.
Sure thing:
code7dev7.co.uk/
If you go to say, clothing and click into a category from there it uses the correct menu item for that sub category however if you access that same category from the three boxes on the home page it does not use the correct menu item.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #102745
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Module not going to correct menu item
Hi,
You have to change the itemId for the links in the front page.
At this moment, the link will be the same to the display content too.
Regards,
You have to change the itemId for the links in the front page.
At this moment, the link will be the same to the display content too.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #102818
by code7
Replied by code7 on topic Module not going to correct menu item
Ah okay.
So there's no way for them to figure out the correct menu item based on the category?
Don't worry if that's the case, I can put something else in with similar functionality.
So there's no way for them to figure out the correct menu item based on the category?
Don't worry if that's the case, I can put something else in with similar functionality.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #102853
by nicolas
Replied by nicolas on topic Module not going to correct menu item
Ther eis already a system to figure out the correct menu item based on the category. And you can see it used on the left categories listing module of your shop.
The catch though is that for it to work, you need to select a main menu item in the "menu" option of the category listing module, and that main menu item must have directly into it one menu item per category.
So I'm not sure if it doesn't work because you didn't select the menu item in the "menu" option of your module or if it's because your menu structure is not compatible with that feature.
So check that "menu" option of your module and if it is already correct, then I'm afraid that there is no solution. Otherwise, setting it properly like you have for your other module might actually be enough.
The catch though is that for it to work, you need to select a main menu item in the "menu" option of the category listing module, and that main menu item must have directly into it one menu item per category.
So I'm not sure if it doesn't work because you didn't select the menu item in the "menu" option of your module or if it's because your menu structure is not compatible with that feature.
So check that "menu" option of your module and if it is already correct, then I'm afraid that there is no solution. Otherwise, setting it properly like you have for your other module might actually be enough.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #102876
by code7
Replied by code7 on topic Module not going to correct menu item
It didn't quite do what I wanted unfortunately but I made a custom php module in the end to replicate the module with the functionality I wanted.
Thanks anyway!
Thanks anyway!
Please Log in or Create an account to join the conversation.
Time to create page: 0.075 seconds