Keyword

Reposition Comments after Media

  • Sulaimon
  • Sulaimon's Avatar Topic Author
  • Offline
  • New Member
More
9 years 6 months ago #149368 by Sulaimon
Reposition Comments after Media was created by Sulaimon
Hi, I want to reposition the comments block so it displays after the Media. I tried to do so in item.php but i could not find a way to achieve this. Sorry i'm new to php.

Thanks

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 6 months ago #149371 by Krikor Boghossian
Replied by Krikor Boghossian on topic Reposition Comments after Media
Hello,

Please read this post in order to override the item.php file getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

Then look in the file for the HTML comments (<!-- Item comments --> and <!-- Item comments form --> ). and move them above the media section.

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

  • Sulaimon
  • Sulaimon's Avatar Topic Author
  • Offline
  • New Member
More
9 years 6 months ago #149437 by Sulaimon
Replied by Sulaimon on topic Reposition Comments after Media
Hi, thanks for the response but how do i identify the Media section?

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 6 months ago #149440 by Krikor Boghossian
Replied by Krikor Boghossian on topic Reposition Comments after Media
By the HTML comments. The item's code is well commented.

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


Powered by Kunena Forum