Keyword

Where can I find tags page view / controller

  • Reygoch
  • Reygoch's Avatar Topic Author
  • Offline
  • New Member
More
8 years 8 months ago #146318 by Reygoch
Hi,

I want to modify how tags search (page that displays all articles related to certain tag) looks and I also want to add noindex meta tag to prevent tag pages from being indexed.

Main problem is that whole K2 (my version is for joomla 2.5) is so messy and I absolutely can't find where to modify view / controller for tag page. I have found something mildly related in
/components/com_k2/templates/default/tags.php
/components/com_k2/views/itemlist/tmpl/tag.php

But that's not it. Please don't tell me it's incorporated with ifs and elses inside itemlist or something like that cos than we can throw whole MVC thing through the window.

Any help much appreciated!

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

More
8 years 8 months ago #146322 by Lefteris
Replied by Lefteris on topic Where can I find tags page view / controller
Hi,

The core file that generates the output on tag listing pages is /components/com_k2/templates/default/tags.php . Hacking directly this file is not recommended, you should create an override.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Reygoch
  • Reygoch's Avatar Topic Author
  • Offline
  • New Member
More
8 years 8 months ago #146325 by Reygoch
Replied by Reygoch on topic Where can I find tags page view / controller
Thank you very much. It seems like I had some cache problems and didn't see any changes because of it.

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

More
8 years 8 months ago #146326 by Lefteris
Replied by Lefteris on topic Where can I find tags page view / controller
You are welcome.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum