Keyword

Need help with display who modified article

  • Tomasz Szenborn
  • Tomasz Szenborn's Avatar Topic Author
  • Offline
  • New Member
More
11 years 5 months ago #112324 by Tomasz Szenborn
Need help with display who modified article was created by Tomasz Szenborn
Hello! My name is Tom and I have a little problem ...

is there a way to view who modified the article?

I opened the file "compnents/com_k2/templates/default/item.php" and under <div class="itemContentFooter">
we have something like this

<? php echo $ this-> item-> author-> name;?> - it shows the author

<? php if ($ this-> item-> params-> get ('itemHits')):?> - the number of inputs

<? php echo JText :: _ ('K2_LAST_MODIFIED_ON');?> <? php echo JHTML :: _ ('date', $ this-> item-> modified, JText :: _ ('K2_DATE_FORMAT_LC2'));? > - Date modified. etc


I added this line <?php echo $this->item->modified_by?> And this only shows the user ID who edited the content, not the full name.

I'll be very grateful for your help .. :)

Best regards!

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

  • Tomasz Szenborn
  • Tomasz Szenborn's Avatar Topic Author
  • Offline
  • New Member
More
11 years 5 months ago #112325 by Tomasz Szenborn
Replied by Tomasz Szenborn on topic Re: Need help with display who modified article
no one will help me? :(

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

More
11 years 5 months ago - 11 years 5 months ago #112326 by Eric
from the admin back end choose components -> k2 -> items, find the article name, and look to the right, and it'll show the user who modified it, and when

i like to modify things, and make them do unintended things

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


Powered by Kunena Forum