- Posts: 3
COMMUNITY FORUM
[SOLVED] Last modfied on date+Author name in item.php
- Thomas
-
Topic Author
- Offline
- New Member
Less
More
12 years 4 weeks ago #112673
by Thomas
[SOLVED] Last modfied on date+Author name in item.php was created by Thomas
First, a big thanks for supporting such a great component like k2!!!
I have an issue with modification of the default k2 template.
I am trying to display "Last modified on date" + "name of the person who modified the article in k2 item.php page.
In the k2 admin panel this info is available under "Modified by ......." and its displayed by
and
How to port this info to the item.php page?
Thanks :)
I have an issue with modification of the default k2 template.
I am trying to display "Last modified on date" + "name of the person who modified the article in k2 item.php page.
In the k2 admin panel this info is available under "Modified by ......." and its displayed by
<strong><?php echo JText::_('K2_MODIFIED_BY'); ?></strong>
and
<?php echo $this->row->moderator; ?>
How to port this info to the item.php page?
Thanks :)
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
12 years 3 weeks ago #112674
by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Last modfied on date+Author name in item.php
Hello Thomas,
You will need to add this string to your template's language file or use the language override functionality of Joomla! and you should replace $this->row with
You will need to add this string to your template's language file or use the language override functionality of Joomla! and you should replace $this->row with
Log in or Create an account to join the conversation.
- Thomas
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 3
12 years 3 weeks ago #112675
by Thomas
Replied by Thomas on topic Re: Last modfied on date+Author name in item.php
B) Thanks, this is what i was looking for!
Please Log in or Create an account to join the conversation.