Hi,
I have a number of galleries contained within a number of albums.
There is an album view for each album, then a gallery view.
Once within a gallery, is there any way to create some sort of previous/next gallery links so that one can also go through the other galleries within the same album?
Any help greatly appreciated, even in the form of an SQL query.
It looks like each album has the sortorder field, for example:
a:5:{i:0;s:1:"1";i:1;s:1:"2";i:2;s:1:"6";i:3;s:1:"7";i:4;s:1:"8";}
So I assume there needs to be some kind of reverse query to see which album a gallery is in, then find which is the gallery before and after it, I just don’t quite know how to parse that mysql?
Or better yet does a function already exist for this?
Many thanks.