hi,
i want list blog date in joomla 2.5.6 simple enough option in back-end display articles creation date....
default output : created friday, 03 august 2012 13:09
i have managed change output to: fri 03rd aug 2012
i have followed tutorial : http://magazine.joomla.org/topics/item/ ... nt&print=1
however when adding:
<?php echo jtext::sprintf('com_content_created_date_on', jhtml::_('date',$this->item->created, jtext::_('<div class="datewrap"><span class="day">%d</span><span class="month">%b</span> <span class="year">%y</span></div>'))); ?>
the <div class="datewrap"><span class="day">%d</span><span class="month">%b</span> <span class="year">%y</span></div> outputted different date formats jtext can not have html in (i'm not sure on though).
any explaining needed done great
thanks, elliott
i want list blog date in joomla 2.5.6 simple enough option in back-end display articles creation date....
default output : created friday, 03 august 2012 13:09
i have managed change output to: fri 03rd aug 2012
i have followed tutorial : http://magazine.joomla.org/topics/item/ ... nt&print=1
however when adding:
<?php echo jtext::sprintf('com_content_created_date_on', jhtml::_('date',$this->item->created, jtext::_('<div class="datewrap"><span class="day">%d</span><span class="month">%b</span> <span class="year">%y</span></div>'))); ?>
the <div class="datewrap"><span class="day">%d</span><span class="month">%b</span> <span class="year">%y</span></div> outputted different date formats jtext can not have html in (i'm not sure on though).
any explaining needed done great
thanks, elliott
Comments
Post a Comment