Keyword

Custom code bottom of items

  • Eoin O'Meara
  • Eoin O'Meara's Avatar Topic Author
  • Offline
  • New Member
More
8 years 10 months ago - 8 years 10 months ago #149495 by Eoin O'Meara
Custom code bottom of items was created by Eoin O'Meara
i want to add some custom code in every item/article to load positions such as a facebook comments box etc. where can i insert this code?
Last edit: 8 years 10 months ago by Eoin O'Meara.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 10 months ago #149522 by Krikor Boghossian
Replied by Krikor Boghossian on topic Custom code bottom of items
You need to insert it in the item.php file.
You need to use overrides instead of editing the core file. You can find more information on overrides here: getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

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