Monday, March 22, 2010

Joomla how to change article time stamp in JA Purity II template

Because Joomla does not support Daylight Savings Time or any Timezone that adjusts for Summer and Winter time etc. I wound up first specifying another Timezone just to get the correct time displayed. Then I realized that would be wrong too.

So I wanted to delete the time from the article date/time stamp so I did this:


Edit the following files:

htdocs/templates/ja_purity_ii/html/com_content/
frontpage/default_item.php
section/blog_item.php
category/blog_item.php
article/default.php

I replaced
LC2 with LC3 and vooop no more incorrect time, just the date.




article->created, JText::_('DATE_FORMAT_LC3')) ?>


No comments:

Post a Comment