- Posts: 24
COMMUNITY FORUM
Menu item to list items by tag not working
- Jennie Dawson
- Topic Author
- Offline
- Junior Member
Less
More
4 years 2 months ago #176977
by Jennie Dawson
Menu item to list items by tag not working was created by Jennie Dawson
Hello
I have set up a couple of menu items to list k2 items by tag. I have then got icons within a regular Joomla article which we want to link to the tag results using these menu items.
So I have added a link setting and selected my menu items. There should be two K2 items with each tagged menu item. Clicking the icon takes me to the home page on both and not to any results.
Show tags is enabled in the category settings for both item view and category listings.
The page is here:
www.saddlebackcottages.co.uk/activities
Site is offline: user & pw is Saddleback
The two icons with links are Walking and Nature Reserves.
Thanks for looking
Best wishes
Jennie
I have set up a couple of menu items to list k2 items by tag. I have then got icons within a regular Joomla article which we want to link to the tag results using these menu items.
So I have added a link setting and selected my menu items. There should be two K2 items with each tagged menu item. Clicking the icon takes me to the home page on both and not to any results.
Show tags is enabled in the category settings for both item view and category listings.
The page is here:
www.saddlebackcottages.co.uk/activities
Site is offline: user & pw is Saddleback
The two icons with links are Walking and Nature Reserves.
Thanks for looking
Best wishes
Jennie
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
4 years 2 months ago #176980
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Menu item to list items by tag not working
The correct tag URL should be just the menu item, e.g. www.saddlebackcottages.co.uk/walking/ instead of www.saddlebackcottages.co.uk/walking/itemlist/tag/Walking.
Do you have K2's Advanced SEF enabled by any chance?
Do you have K2's Advanced SEF enabled by any chance?
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Jennie Dawson
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 24
4 years 2 months ago #176982
by Jennie Dawson
Replied by Jennie Dawson on topic Menu item to list items by tag not working
Hi Fotis
Not to my knowledge. I'm looking for this option but cannot seem to find it. There are some custom SEF settings in the Settings for K2 and these are turned off, but I can't find any advanced SEF settings. Where do they live? J
Not to my knowledge. I'm looking for this option but cannot seem to find it. There are some custom SEF settings in the Settings for K2 and these are turned off, but I can't find any advanced SEF settings. Where do they live? J
Please Log in or Create an account to join the conversation.
- Jennie Dawson
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 24
4 years 2 months ago #176983
by Jennie Dawson
Replied by Jennie Dawson on topic Menu item to list items by tag not working
This is the URL that is being generated in the menu link if that helps:
index.php?option=com_k2&view=itemlist&layout=tag&tag=Walking&task=tag&Itemid=157
index.php?option=com_k2&view=itemlist&layout=tag&tag=Walking&task=tag&Itemid=157
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
4 years 2 months ago #176985
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Menu item to list items by tag not working
This is the system URL which is translated to a SEF URL in the frontend.
Check if "Advanced SEF" is enabled in the K2 component settings, under the "SEO" tab.
The issue might also be a bad link added by the WYSIWYG editor...
Check if "Advanced SEF" is enabled in the K2 component settings, under the "SEO" tab.
The issue might also be a bad link added by the WYSIWYG editor...
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Jennie Dawson
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 24
4 years 2 months ago #176987
by Jennie Dawson
Replied by Jennie Dawson on topic Menu item to list items by tag not working
In the SEO tab I've attached screenshot of the Custom SEF URLs settings.
They were not enabled. If I enable them the link changes as follows:
walking/tag/Walking
when disabled the link is:
walking/itemlist/tag/Walking
I can get it to work if I just type the menu alias into the link, but it would be better not to.
I am using JCE Editor, latest version 2.8.17
Could any PHP extensions be missing that are needed? I've just updated to 7.4. Also attached settings.
Thank you x
They were not enabled. If I enable them the link changes as follows:
walking/tag/Walking
when disabled the link is:
walking/itemlist/tag/Walking
I can get it to work if I just type the menu alias into the link, but it would be better not to.
I am using JCE Editor, latest version 2.8.17
Could any PHP extensions be missing that are needed? I've just updated to 7.4. Also attached settings.
Thank you x
Attachments:
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
4 years 2 months ago #176994
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Menu item to list items by tag not working
If you use JCE, it's best if you got the relevant plugin for K2 links from: getk2.org/extend/extensions/k2-links-for-jce
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Jennie Dawson
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 24
4 years 1 month ago #177009
by Jennie Dawson
Replied by Jennie Dawson on topic Menu item to list items by tag not working
That sorts it, Thank you Fotis
ευχαριστώ πολύ
ευχαριστώ πολύ
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
4 years 1 month ago #177011
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Menu item to list items by tag not working
You're welcome :)
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.