How to get the links right - SOLVED
10 years 9 months ago - 10 years 9 months ago #225671
by webhelpus
How to get the links right - SOLVED was created by webhelpus
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.6.15
-- Browser(s) name and version -- : Chrome 47.0.2526.106 m
Here is the menu structure I have:
Meditations
--Start
---Business
---Feel Confident
---etc.
--Stop
---Another Category
---And Another one
---etc
--Sleep
---Same as above
Meditation links to the category page that has the Start, STop, and Sleep categories in it. Some of the items that are displayed on the page are menu based (like the header). If I navigate through the menu, the items (like the header) change to match the page. But, if I navigate through the HikaShop display by pressing the category images, the header (and other elements) don't change cause it does't match itself with the Menu. It still thinks it's on the Meditation category page. However, the breadcrumb changes correctly. How can I get the category image links to match the links to the menu so all my menu-based items will change?
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.6.15
-- Browser(s) name and version -- : Chrome 47.0.2526.106 m
Here is the menu structure I have:
Meditations
--Start
---Business
---Feel Confident
---etc.
--Stop
---Another Category
---And Another one
---etc
--Sleep
---Same as above
Meditation links to the category page that has the Start, STop, and Sleep categories in it. Some of the items that are displayed on the page are menu based (like the header). If I navigate through the menu, the items (like the header) change to match the page. But, if I navigate through the HikaShop display by pressing the category images, the header (and other elements) don't change cause it does't match itself with the Menu. It still thinks it's on the Meditation category page. However, the breadcrumb changes correctly. How can I get the category image links to match the links to the menu so all my menu-based items will change?
Last edit: 10 years 9 months ago by webhelpus. Reason: Problem solved
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
10 years 9 months ago #225692
by Mohamed Thelji
Replied by Mohamed Thelji on topic How to get the links right
Hello,
Can you give me more information on your menu based displaying and on the way you have configured it ? Note that your Hikashop product/category listing content menus are also Joomla menus, so you can also adapt your displaying to these menus if you are using modules.Some of the items that are displayed on the page are menu based (like the header)
Please Log in or Create an account to join the conversation.
10 years 9 months ago #225755
by webhelpus
Replied by webhelpus on topic How to get the links right
The modules only adapt if someone navigates directly through the menu. If someone clicks on category images the link is different. For example the link for the Stop menu item is
But clicking on the image that takes me to the same place is
I tried removing the category word from the SEF setting, but that didn't remove it from the URL
Code:
/meditations/stop
But clicking on the image that takes me to the same place is
Code:
/meditations/category/stop
I tried removing the category word from the SEF setting, but that didn't remove it from the URL
Please Log in or Create an account to join the conversation.
10 years 9 months ago #225780
by Xavier
Replied by Xavier on topic How to get the links right
Hi,
You should use the canonical url option on the categories, that way you will always have the same url whatever the menu / module used.
You should use the canonical url option on the categories, that way you will always have the same url whatever the menu / module used.
The following user(s) said Thank You: webhelpus
Please Log in or Create an account to join the conversation.
10 years 9 months ago #225834
by webhelpus
Replied by webhelpus on topic How to get the links right
Didn't even see that there was a canonical field on the categories. All I had to do was scroll down and there it was. Removed the word "category" from it and it works perfectly.
Please Log in or Create an account to join the conversation.
Time to create page: 0.193 seconds