Hello,
I want to add the "Modified Date" to my k2_content_module.
Is this possible and how?
Thank you for your answer
Rob
I already tried to add this code into the default.php code but that didn't work:
<?php if($params->get('itemDateModified')): ?>
<!-- Item date modified -->
<span class="itemDateModified">
<?php echo JText::_('K2_LAST_MODIFIED_ON'); ?> <?php echo JHTML::_('date', $this->item->modified, JText::_('K2_DATE_FORMAT_LC2')); ?>
</span>
<?php endif; ?>
I want to add the "Modified Date" to my k2_content_module.
Is this possible and how?
Thank you for your answer
Rob
I already tried to add this code into the default.php code but that didn't work:
<?php if($params->get('itemDateModified')): ?>
<!-- Item date modified -->
<span class="itemDateModified">
<?php echo JText::_('K2_LAST_MODIFIED_ON'); ?> <?php echo JHTML::_('date', $this->item->modified, JText::_('K2_DATE_FORMAT_LC2')); ?>
</span>
<?php endif; ?>