Keyword

Tag subtemplte does not override

  • lam xuyen
  • lam xuyen's Avatar Topic Author
  • Offline
  • New Member
More
5 days 23 hours ago #169107 by lam xuyen
lam xuyen created the topic: Tag subtemplte does not override
Hi there!
I have an issue with overriding tag.php template. I got 2 sub templates for 2 different categories in /mytemplate/html/com_k2/.
Then I use k2 tools tag cloud functionality as a submenu, and all tag links generate tag listings in the default template.
I am sure I have done everything right. Reinstalled K2 several times. J3.8.1 K2 2.8.0.
Please give some hints what might be the cause of this!
greetings

The two instances of K2 tools tag cloud modules are published here: 2017.sklada.bg/bg/novini/ and here: 2017.sklada.bg/bg/izbrani-brandove/
As it might be seen the tag template in the second link is OK since it follows the menu link template (category), but in the first link as soon as any of the two submenu links (tags) "изложба | изложения" is clicked the tag listing has a template that has nothing to do with the previous view

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
5 days 23 hours ago #169109 by Fotis
Fotis replied the topic: Tag subtemplte does not override
I would recommend you create 2 menu items pointing to each tag. In each menu item, select your sub-template. Now when you click a tag from the tag cloud, it will properly fetch the correct sub-template. That's the only way to associate tags with different subtemplates.


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