Tigratrus
Well-known member
NVM! I found it.
If you look in the RecentNews.php (library/EWRporta/block/RecentNews.php) you can see where promote_date is added into the array $news.
So basically you can tweak the XML in RecentNews.xml and reimport it or you can simply modify the EWRporta_Block_RecentNews template to make the following change:
Find:
Near the top of the foreach loop and change it to:
All you are doing is changing $news.post_date to $news.promote_date
QED. Once you dump the module cache (O link in the module admin page) and bring it back up again, you should see the time/date that the thread was promoted, INSTEAD of the time/date that the thread was originally created by the OP.
Just remember that you may need to remake that change anytime you re-import updated versions of the RecentNews module.
If you look in the RecentNews.php (library/EWRporta/block/RecentNews.php) you can see where promote_date is added into the array $news.
So basically you can tweak the XML in RecentNews.xml and reimport it or you can simply modify the EWRporta_Block_RecentNews template to make the following change:
Find:
Code:
<div style="float: right; white-space: nowrap;">
<a href="{xen:link threads, $news}"><xen:datetime time="$news.post_date" /></a>
</div>
Near the top of the foreach loop and change it to:
Code:
<div style="float: right; white-space: nowrap;">
<a href="{xen:link threads, $news}"><xen:datetime time="$news.promote_date" /></a>
</div>
QED. Once you dump the module cache (O link in the module admin page) and bring it back up again, you should see the time/date that the thread was promoted, INSTEAD of the time/date that the thread was originally created by the OP.
Just remember that you may need to remake that change anytime you re-import updated versions of the RecentNews module.