Time and Data in Category Blog - News Template 2.5

Feel free to talk about everything related to our Joomla Products
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Wed Jan 16, 2013 4:04 pm
Hi guys,
how can i add the CREATED TIME and DATA of the article in K2 category? I tried to set everything but nothing...
Can you help me?
User avatar
Fresh Boarder

teitbite
Thu Jan 17, 2013 3:15 am
Hi

This is a code to display date of creation:

Code: Select all
      <!-- Date created -->
      <span class="itemDateCreated">
         <?php echo JHTML::_('date', $this->item->created , JText::_('K2_DATE_FORMAT_LC2')); ?>
      </span>


Please edit /html/com_k2/templates/default/item.php file and add this code to the place You want it to be shown.
User avatar
Moderator


cron