Latest News change date to show when published

  • Posted by Empire Web Designs (5) Offline
Hi,

I was wondering if its possible to change the date to show when the article was published instead of created.

Thanks
11 years 1 week ago #1 by Empire Web Designs

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5262) Offline
Hi ewd, is it for latest news extended module or latestnews + module?
11 years 1 week ago #2 by TemplatePlazza

Please Log in or Create an account to join the conversation.

  • Posted by Empire Web Designs (5) Offline
Hi, its the latestnews + module
11 years 1 week ago #3 by Empire Web Designs

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5262) Offline
Hi, open this file [root]/modules/mod_latestnewsplusdate/tmpl/default.php
find this code (exist in about 12 positions in that file) :
$item->created
change that with
$item->publish_up
11 years 1 week ago #4 by TemplatePlazza

Please Log in or Create an account to join the conversation.

  • Posted by Empire Web Designs (5) Offline
Hi,

Thanks for your help its worked.
It would be good if it was an option in the module settings.

Thanks
11 years 1 week ago #5 by Empire Web Designs

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum