Keyword

Is it possible to link K2 item title to open another URL

  • Anurag Pandey
  • Anurag Pandey's Avatar Topic Author
  • Offline
  • Junior Member
More
6 years 7 months ago #167387 by Anurag Pandey
Hi Forum
I want to link k2 item title open to another URL instead of opening full items available in same url. Please help.
Regards

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 7 months ago #167394 by Krikor Boghossian
Replied by Krikor Boghossian on topic Is it possible to link K2 item title to open another URL
Hello,

You can use an extrafield in order to replace the default link.
You will need to edit your overrides (category_item.php, tag.php, generic.php etc..)
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

How to render a specific extrafield:
github.com/kricore/Advanced-templating-with-K2/blob/master/_inc/cheatsheet.php#L169-L173

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

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 7 months ago #167395 by Krikor Boghossian
Replied by Krikor Boghossian on topic Is it possible to link K2 item title to open another URL
Hello,

You can use an extrafield in order to replace the default link.
You will need to edit your overrides (category_item.php, tag.php, generic.php etc..)
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

How to render a specific extrafield:
github.com/kricore/Advanced-templating-with-K2/blob/master/_inc/cheatsheet.php#L169-L173

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