Keyword

Link from Item to Tag-View Menu only works sporadically

  • Yannick Lämmel
  • Yannick Lämmel's Avatar Topic Author
  • Offline
  • New Member
More
1 week 5 days ago #169657 by Yannick Lämmel
Yannick Lämmel created the topic: Link from Item to Tag-View Menu only works sporadically
Hi,

i have (for example) a item at /en/middle-mosel/trier/309-museum-at-trier-cathedral.html which has some Tags.

All Tags have own Menu entrys (for Example /en/searchtags/city.html) but for the most Tags the Generated Link is /en/middle-mosel/trier/tag/Historical.html which leads to 404.

All Tags and the Menu Names are written with normal Upperspace ("Historical"), the Menu aliases are written in lowerspace ("historical").

It depends on the Tag if the Link can be Generated or not. So "Historical" works in no item, while "City" works in all.

The attachment is a var_dump in the Tag Foreach. I didnt touched the "$this->item->tags" before the foreach.

File Attachment:

File Name: vardump.txt
File Size:3 KB


Thanks in advance!
Attachments:

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 week 5 days ago #169662 by Fotis
Fotis replied the topic: Link from Item to Tag-View Menu only works sporadically
A URL would be more helpful than a var_dump.


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • Yannick Lämmel
  • Yannick Lämmel's Avatar Topic Author
  • Offline
  • New Member
More
1 week 5 days ago #169667 by Yannick Lämmel
Yannick Lämmel replied the topic: Link from Item to Tag-View Menu only works sporadically
[http]www[dot]neuer[dot]mosel-inside[dot]de/en/middle-mosel/trier/309-museum-at-trier-cathedral.html

Please Log in or Create an account to join the conversation.

  • Yannick Lämmel
  • Yannick Lämmel's Avatar Topic Author
  • Offline
  • New Member
More
6 days 15 hours ago #169724 by Yannick Lämmel
Yannick Lämmel replied the topic: Link from Item to Tag-View Menu only works sporadically
Hello Fotis,

Could you find the problem already?

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
4 days 8 hours ago #169760 by Fotis
Fotis replied the topic: Link from Item to Tag-View Menu only works sporadically
Are you using a SEF/SEO extension?


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • Yannick Lämmel
  • Yannick Lämmel's Avatar Topic Author
  • Offline
  • New Member
More
8 hours 2 minutes ago #169840 by Yannick Lämmel
Yannick Lämmel replied the topic: Link from Item to Tag-View Menu only works sporadically
no, only the original Joomla SEF Plugin.

But I got news on this:
In the translated (falang) Menu Entry (Tag-View) ist not possible to choose a translated Tag (the List is in German). So only the Identical Tags (for ex. City in EN and DE) are working.

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
7 hours 21 minutes ago #169849 by Fotis
Fotis replied the topic: Link from Item to Tag-View Menu only works sporadically
First off, the links to tags should not generate a 404. If you have an items with a url /path/to/item, then your tags will inherit the item's path and become /path/to/tag/name_of_tag.

Now, I see you have a plugin to do multiple categories. Which one is it as it could be messing with the output. I do see duplicate entries in categories in "Published in...".

Additionally, try switching the URL suffix (.html) off. This could be borking the URL router.

Finally, create a menu item in a menu that you don't use in the site (a hidden menu, sort of) and point that menu item to all K2 Categories and use "content" as the menu alias. This menu link will make sure that your tags that have NO direct menu item always inherit the path /content/tag/tag_name.

I haven't tested K2 with Falang latest (didn't know it's even maintained to be honest). And frankly, I'm about to remove support for it as it's much simpler to do multi-lingual sites with core Joomla nowadays.


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

Moderators: william white