Keyword

Create a link to : Login to Comment

  • raunhar
  • raunhar's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 3 hours ago - 8 years 11 months ago #142638 by raunhar
Create a link to : Login to Comment was created by raunhar
When a user (registered but not logged in) wants to write a comment, he has to go to Login link of the menu.
Is it possible to have the link at the line where it mentions : Login to Post Comments.
Last edit: 8 years 11 months ago by raunhar.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 11 months ago #142673 by Krikor Boghossian
Replied by Krikor Boghossian on topic Create a link to : Login to Comment
Yes, you can override the item.php file and place the link on that position.

This post will help you locate the location of the file you need to edit 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.

  • raunhar
  • raunhar's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 11 months ago #142683 by raunhar
Replied by raunhar on topic Create a link to : Login to Comment
I checked the whole file, but could not find the line"Login to Comment"

I am doing k2 for the first time.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 11 months ago #142696 by Krikor Boghossian
Replied by Krikor Boghossian on topic Create a link to : Login to Comment
It is a language string.

Look for:
<div><?php echo JText::_('K2_LOGIN_TO_POST_COMMENTS'); ?></div>

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

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

  • raunhar
  • raunhar's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 11 months ago #142700 by raunhar
Replied by raunhar on topic Create a link to : Login to Comment
This string is on many files. SHould I add the link on items.php file under views or models

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 11 months ago #142702 by Krikor Boghossian
Replied by Krikor Boghossian on topic Create a link to : Login to Comment
In the item.php file only.

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