Joomla Websites Always Showing Today’s Date
Here’s a little fix we came across today while trying to find out why blog posts on this site had started always showing today’s date. Even if a post was written in 2006 or 2007 it would show a 2010 date. Thanks to Anthony from Joomla Bamboo for helping me find the fix. The problem is with overrides and you’re likely to find them in this folder: / templates / your-template-name / html / com_content / article / default.php The correct date line is going to look similar to this: <?php echo JHTML::_(‘date’, $this->article->created, JText::_(‘<div class=”month”>%b</div><div class=”day”>%d</div>%Y’)); ?> I’ve highlighted…