![]() |
|
modified image updating gallery - 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: modified image updating gallery (/thread-6826.html) |
modified image updating gallery - saundstu - 2010-03-24 Hi. Is there any way to set the system so that if a user modifies a single image ( changes description, edits thumbnail etc ) the album containing that image becomes the first album in the gallery display?... cheers modified image updating gallery - kagutsuchi - 2010-03-25 If you set the sorting to modified image updating gallery - saundstu - 2010-03-25 I have already tried that... Is there anyway to set the gallery order to display the most recent modified album? modified image updating gallery - kagutsuchi - 2010-03-25 Are you using If that fails, you can use the functions of the modified image updating gallery - saundstu - 2010-03-26 I have tried filemtime and every other database field. It update the gallery once and thats it!... image_album_statistics does what i need, However now I have lost the ability to select the next page in the gallery... Must be doing something very wrong. S modified image updating gallery - acrylian - 2010-03-27 If you set to filemtime the gallery order of course does not change until there is a change. The image_album_statisticcs plugin is not meant to replace the normal album/image loops, it is for displaying the "x images or album" of the given setting. So there is of course no pagination. modified image updating gallery - saundstu - 2010-03-27 "If you set to filemtime the gallery order of course does not change until there is a change." I realise that... I have several different user accounts whilst we are testing... The gallery order updates once after filemtime is selected. subsequent uploads by different users have no effect. Its gonna be something simple I am missing S modified image updating gallery - acrylian - 2010-03-27 Did you try to refresh the database (button on the admin overview). That forces Zenphoto to check the filesystem with the database as Zenphoto is filesystem based. There is also a sortorder for subalbums in an album on each album admin page. modified image updating gallery - saundstu - 2010-03-27 Tried refreshing the database... It updates the fields in the db tables but does not update the gallery... We have it set so you have a main gallery and within that each user has one album they can upload to... only admin can create subalbums... image_album_statistics worked straight out of the box and updated as it should but we need the pagination as well... S modified image updating gallery - acrylian - 2010-03-27 Have you tried to set the subalbum sortorder within those albums? modified image updating gallery - saundstu - 2010-03-27 Went away and had a rethink about the whole site design. The problem is now sorted. However... when you use a custom index page "as per Gallery index page link in options/theme" how do you set logout to reference that page? S modified image updating gallery - sbillard - 2010-03-27 Logout returns you to the page you were on when the logout occurred. If you want to direct somewhere else, you would have to cause your logout form to set that "location" as query parameters. See particularly lines 159-167 of auth_zp.php modified image updating gallery - saundstu - 2010-03-27 You sir, are a star... S |