![]() |
|
additional SELECT needed - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: additional SELECT needed (/thread-930.html) |
additional SELECT needed - SaS - 2006-12-05 Hi All, Help welcomed ! ---SaS additional SELECT needed - trisweb - 2006-12-05 Hmmmm.... This is interesting because generally, Zenphoto uses the filesystem to display all photos, so if it's in the folder, then it gets displayed. I think you'll need to add the filtering in the sortImageArray method in the Album class. Make a database call (with a "WHERE approved='Y'" or something), and remove images from the array if they're not in the query results. You can do that before the return statement. |