Day of Month not showing

Elegant Joomla template designed especially for both professional and personal website presentation.
GK User
Thu Aug 26, 2010 11:47 pm
Hi,

Im using Postnote with K2.

My articles dont display the large bold Day of the Month that appears on the left side of item views. It only displays the Month. For instance, if an item is created today 26th August, only August appears. 26 does not appear.

I installed the quickstart version of the template and the same problem exists in that too.

Could someone please point to me what I could be doing wrong.

Thank you.
User avatar
Fresh Boarder

GK User
Fri Aug 27, 2010 2:06 am
Hi

Please open the following page:

../gk_postnote/html/com_k2/default/item.php

and find this line:

Code: Select all
<span class="k2DateDay"><?php echo JHTML::_('date', $this->item->created , '%e'); ?></span>


replace with

Code: Select all
<span class="k2DateDay"><?php echo JHTML::_('date', $this->item->created , '%d'); ?></span>


Cheers ;)
User avatar
Platinum Boarder

GK User
Fri Aug 27, 2010 7:08 pm
Wow,

It up and running just like I want it.

I spent hours trying to figure out how to solve the problem, while all I had to do was simply ask!!!

Thank you Seichinha.



Seichinha wrote:
Hi

Please open the following page:

../gk_postnote/html/com_k2/default/item.php

and find this line:

Code: Select all
<span class="k2DateDay"><?php echo JHTML::_('date', $this->item->created , '%e'); ?></span>


replace with

Code: Select all
<span class="k2DateDay"><?php echo JHTML::_('date', $this->item->created , '%d'); ?></span>


Cheers ;)
User avatar
Fresh Boarder


cron