Keyword

Linking to another page

  • Ozie Jackson, PMP
  • Ozie Jackson, PMP's Avatar Topic Author
  • Offline
  • New Member
More
10 years 8 months ago #123363 by Ozie Jackson, PMP
Linking to another page was created by Ozie Jackson, PMP
I have K2 installed in a article grid layout on the front page of my website. When you click on a particular grid article it takes you to the full page K2 article.

However, there is one K2 artice on the front page grid that I want to have internally linked to another page on my website that is not the original K2 article.

How do I update this link to point away from the K2 article?

Thank you for any assistance

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

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 8 months ago #123364 by Yiota
Replied by Yiota on topic Re: Linking to another page
An option is to create an extra field (type as textfield) which will contain the link to your other article. Then modify the category_item.php, in your overrides, to load this extra field instead of the actual link.

Read here getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates on how the overrides work if you don't use already.

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


Powered by Kunena Forum