Last Updated instead of Last Uploaded Last Updated instead of Last Uploaded
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Last Updated instead of Last Uploaded

Started by paquets, September 02, 2009, 12:41:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

paquets

Hi,

Sorry of this has been asked and answered before. I searched the board and could not find an answer...

On the homepage of a CPG site, would it be possible to show the "last updated" files instead of the "last additions"?

Right now to do that, I go in PHPmyAdmin to change the number of the pic entry, which is an ok work-around but seems a bit complex. :P

site: adpharm.net


Nibbler


paquets

Basically that if an image has information added to it (caption/description/keyword) it would go up on the list. I suppose this would have to works with the date and time the image was last edited as opposed to using the image number.
So basically, even if image "a" was uploaded last, image "b" would be the first in the list because it was edited last.
Make sense?

Nibbler

Yeah. That's not a trivial mod to make though - the edit date/time is not recorded.

paquets

Quote from: Nibbler on September 02, 2009, 02:44:47 PM
Yeah. That's not a trivial mod to make though - the edit date/time is not recorded.

I see. Thanks for the reply and if I manage to get it to record the update date and do what I want it to do, I'll add it to the mods.

Thanks again!