开发者

Joomla artciles showing today's date in front-end

开发者 https://www.devze.com 2023-01-08 01:46 出处:网络
does anyone know why all (blog) articles in Joomla are 开发者_Python百科showing the same created date (today\'s date) in the front-end. However, when i check in the admin (back-end) the dates seem to

does anyone know why all (blog) articles in Joomla are 开发者_Python百科showing the same created date (today's date) in the front-end. However, when i check in the admin (back-end) the dates seem to be fine.

I've cleared the cache (in the Joomla cache manager) as suggested by some forums but it's still showing today's date. any ideas? thanks


this worked to me, after few hours scratching my head...

Go to: /public_html/site_folder/templates/template_name/html/com_content/category/blog_item.php

Locate line 36 (for me) and replace article with item, like this:

OLD: **article**->created, JText::_('DATE_FORMAT_LC2')); ?>

NEW: **item**->created, JText::_('DATE_FORMAT_LC2')); ?>

Regards, João Taleço

0

精彩评论

暂无评论...
验证码 换一张
取 消