K2 - Created date

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Aug 07, 2013 1:34 pm
Reply with quote
Report this post
Hi,

Seems like the template has some conflict with the K2-component.

In category listing it doesn't show created date..

Any solutions to fix this?

Url: www.timmohlin.se

Cheers,
User avatar
Fresh Boarder

GK User
Wed Aug 07, 2013 6:06 pm
Reply with quote
Report this post
Hi,
you're right it's possible to show "Last modified date" but not "Created date..." - I will check it.
User avatar
Platinum Boarder

GK User
Wed Aug 07, 2013 6:21 pm
Reply with quote
Report this post
You have make a little modification inside this file:
templates\gk_creativity\html\com_k2\templates\default\category_item.php



In line 90 or 86 add this code (after <?php endif; ?>):

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


You will see Date of item creation.
User avatar
Platinum Boarder

GK User
Thu Aug 08, 2013 2:23 pm
Reply with quote
Report this post
Great that solved it.

Thanks,
Tim
User avatar
Fresh Boarder


cron