- Posts: 20
COMMUNITY FORUM
Create a link to : Login to Comment
- raunhar
-
Topic Author
- Offline
- Junior Member
Less
More
10 years 1 month ago - 10 years 1 month 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.
Is it possible to have the link at the line where it mentions : Login to Post Comments.
Last edit: 10 years 1 month ago by raunhar.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 1 month 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
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
Please Log in or Create an account to join the conversation.
- raunhar
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 20
10 years 1 month 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.
I am doing k2 for the first time.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 1 month 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:
Look for:
<div><?php echo JText::_('K2_LOGIN_TO_POST_COMMENTS'); ?></div>
Please Log in or Create an account to join the conversation.
- raunhar
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 20
10 years 1 month 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
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 1 month ago #142702
by Krikor Boghossian
Replied by Krikor Boghossian on topic Create a link to : Login to Comment
In the item.php file only.
Please Log in or Create an account to join the conversation.