Latest News+ Date

Version
2.1 (last update on Nov 21, 2012)
Rating
Compatibility
Reviews
22
License
GPLv2 or later
Non-Commercial
Type
Date Added
14 July 2008
Uses Updater?
- Yes
LatestNews+ Date is an enhance version of the standard Joomla latestnews module with an additional thumbnail, date and time features for each news. You can display the date or the time on the article published in front of the article item title. Additionally, you also can display the thumbnail of the first article image and introtext of latest article item.
I really liked this extension. It's very simple to setup and rather flexible. I also wanted to have my months names in my local language so I made a small adjustment myself. Hope I'm not breaking any rules by showing it in here:
In the file mod_latestnewsplusdate/tpml/default.php I changed line 132 (the one under case 1:) to the following:
echo strftime("%d %B %Y", strtotime(date($item->created)));
This worked very well. Of course you can make similar changes elsewhere in the file. Note that I'm not a PHP guru so there might be cleaner ways to achieve the same thing but this works for me.
In the file mod_latestnewsplusdate/tpml/default.php I changed line 132 (the one under case 1:) to the following:
echo strftime("%d %B %Y", strtotime(date($item->created)));
This worked very well. Of course you can make similar changes elsewhere in the file. Note that I'm not a PHP guru so there might be cleaner ways to achieve the same thing but this works for me.
Page 2 of 2


