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
12 years 10 months ago #1 by Empire Web Designs

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

  • Posted by TemplatePlazza (5474) Offline
Hi ewd, is it for latest news extended module or latestnews + module?
12 years 10 months 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
12 years 10 months ago #3 by Empire Web Designs

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

  • Posted by TemplatePlazza (5474) 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
12 years 10 months 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
12 years 10 months ago #5 by Empire Web Designs

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

Powered by Kunena Forum