Keyword

Comments date stamp

  • Cyrus Taraporvala
  • Cyrus Taraporvala's Avatar Topic Author
  • Offline
  • New Member
More
9 years 9 months ago #145372 by Cyrus Taraporvala
Comments date stamp was created by Cyrus Taraporvala
How can I remove the date from comments posted? Thanks.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 9 months ago #145380 by Krikor Boghossian
Replied by Krikor Boghossian on topic Comments date stamp
<span class="commentDate">
            <?php echo JHTML::_('date', $comment->commentDate, JText::_('K2_DATE_FORMAT_LC2')); ?>
          </span>
This is the code that generates the date in the item.php file.
You can safely remove this code.

In order to locate and override this file, please read this post:
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.

  • Cyrus Taraporvala
  • Cyrus Taraporvala's Avatar Topic Author
  • Offline
  • New Member
More
9 years 9 months ago #145388 by Cyrus Taraporvala
Replied by Cyrus Taraporvala on topic Comments date stamp
Thanks for the prompt response Krikor :)

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 9 months ago #145409 by Krikor Boghossian
Replied by Krikor Boghossian on topic Comments date stamp
You 're welcome Cyrus.

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


Powered by Kunena Forum