In the query in each of the three (3) case statements change these two lines:
. "\n AND ( a.publish_up = '$nullDate' OR a.publish_up<= '$now' )"
. "\n ORDER BY a.created DESC LIMIT $count"
to read:
. "\n AND ( a.modified = '$nullDate' OR a.modified <= '$now' )"
. "\n ORDER BY a.modified DESC LIMIT $count"
Then copy mod_latestnews.xml to mod_latestmods.xml. Make following changes to mod_latestmods.xml:
Find this line:
And change to read:
You might also want to edit the
Zip mod_latestmod.php and mod_latestmod.xml into a mod_latestmod.zip file and install ....
You can see an example of this module at http://www.hrpr.com.