![]() |
|
Navigation from Image page after sort on album page - 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: Navigation from Image page after sort on album page (/thread-5044.html) |
Navigation from Image page after sort on album page - sig331 - 2009-04-15 Hello, I have 3 sort options on my album page. When the sort is performed and an images is selected the next image and previous image buttons do not go to the next and previous images based on the sort performed. Also, the album link in the breadcrumb does not return to the page where the image is after the sort (I am fine just making the link always return to page 1 with no sort). I am having trouble finding where I can strip the page portion out of the Album title portion of the breadcrumb. I have no idea how to fix the first problem. Any help is appreciated, thanks. Gallery is located here: http://76.12.89.207/ffgallery/ Navigation from Image page after sort on album page - acrylian - 2009-04-15 How do you set the sortorder? Best you post the code. Navigation from Image page after sort on album page - sig331 - 2009-04-15 Right... if(ISSET($_GET['imgsort'])) {
Navigation from Image page after sort on album page - acrylian - 2009-04-15 This sets only the sort order for the next_image loop temporarily. If you click on the image Zenphoto that setting is lost. Try using the function Navigation from Image page after sort on album page - sig331 - 2009-04-15 Cool, we are getting closer. My code looks like this now...
The problem is if I set the persistent parameter to false, it does not work at all and I do not want the option change to be permenant, especially for all users. If I leave the persistent parameter blank (TRUE), it has the desired outcome except for it being permenant. Navigation from Image page after sort on album page - acrylian - 2009-04-15 I see. If you set that to "false" it's actually the same as before...:-) You need of course to transfer this setting to the image page, the easiest would probably be to use the url query again. So you need the same check on image.php again. Navigation from Image page after sort on album page - sig331 - 2009-04-15 Ahh... I'm starting to catch on, working now. Thanks! |