Hi all,
I have to calls to maxigallery, one is in the main gallery, and what is on the homepage. The homepage call shows the latest image that was added to any of th galleries. When I click on the latest image, it display the previous and next images fine, cycling through all images in the gallery, however, the index file takes me back to the home page, which makes sense. However, I would like the index page to take me to the index of whichever gallery the user is browsing. I can’t hardcode it into the template because the gallery url will be different depending on which images was added last.
I am using the latest versions of both MODx and Maxigallery.
Thanks
Lee
Do a custom pictureTpl and use [~[+maxigallery.picture.gal_id+]~] as the index link
"He can have a lollipop any time he wants to. That's what it means to be a programmer."