I know this is an old thread...
I really like this system. I have deployed it on one site and it displays the gallery albums nicely.
I have a new project that has several site nav links to separate galleries. If you have one main Gallery page then this system will display all of the albums that get added by the Gallery system. But I am spreading my albums across several pages. Some pages I want just one specific album to display while on other pages I want several specific albums to display (not all of the albums though).
For example: say my site navigation looks like this:
Home | Apples | Oranges | Vegetables
The Apples and Oranges pages contain a single album for apples and oranges respectively.
But the Vegetables page needs to display several albums like Carrots, Peppers, and Onions. I want the Vegetables page to continue dynamically adding new vegetable albums as they are created. But I do NOT want the Vegetables page to show the Apples and Oranges albums. With me here?
The chunk I am using just to display the "apples" album (album #1) on the Apples page looks like this:
[[Gallery? &album=`1` &toPlaceholder=`Gallery` &useCss=`0` &containerTpl=`DemoGalleryAlbumTpl` &thumbWidth=`80` &thumbHeight=`80` &thumbTpl=`DemoGalItemThumb` &imageWidth=`1000` &imageHeight=`800`]]
[[+Gallery]]
I could add a TV to present the specific album number as well.
My chunk to have the Vegetables page to display all of the albums looks like this:
[[!GalleryAlbums? &toPlaceholder=`GalleryAlbums` &limit=`0` &albumCoverSort=`rank` &prominentOnly=`0` &rowTpl=`DemoGalAlbumRowTpl` &thumbWidth=`80` &thumbHeight=`80`]] [[!Gallery? &checkForRequestTagVar=`1` &toPlaceholder=`Gallery` &useCss=`0` &containerTpl=`DemoGalleryAlbumTpl` &thumbWidth=`80` &thumbHeight=`80` &thumbTpl=`DemoGalItemThumb` &imageWidth=`1000` &imageHeight=`800`]] [[!If? &subject=`[[+Gallery]]` &operator=`isempty` &then=` [[+GalleryAlbums]] ` &else=` [[+Gallery]] `]]
With this code the Vegetables page will display the Carrots, Peppers, and Onions albums. But the Vegetables page is ALSO displaying the Apples and Oranges albums. Not wanted!!!
What is the roadmap for making sure the Vegetables page will only present specific albums that I want? Is there a way I can add a list of albums I do not want displayed with this snippet call chunk?
Thanks!
[ed. note: Photowebmax last edited this post 14 years, 8 months ago.]