We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19490
    • 24 Posts
    Hello, I have a site with a side bar that i would like to list child galleries... In the content area i would like to load the gallery. Is there a way to make this happen in a way that the sidebar will just list the child galleries? right now i do this and the first item in the sidebar is the gallery with its title.. then below it it shows all the images in the gallery that i am currently viewing... hope that wasn’t to confusing.
      • 7923
      • 4,213 Posts
      What are the snippet calls that you are using?

      EDIT: Do a custom galleryOuterTpl to the snippet call that is showing childgalleries and have just this in it:

      [+maxigallery.childgalleries:isnot=``:then=`
      	<div class="childscontainer">
      		<ul class="thumbs">
      			[+maxigallery.childgalleries+]
      		</ul>
      	</div>
      	
      `+]
      


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 19490
        • 24 Posts
        After reading the wiki I’m still lost as to how to specify the tpl in the snippet call.. I created a new tpl called projectstpl and put it in: assets/snippets/maxigallery/templates/

        then used this snippet call
        [!MaxiGallery? &galleryOuterTpl =`projectstpl` &pics_per_row=`1` &display=`childgalleries`!] 

        is this correct?
          • 7923
          • 4,213 Posts
          Create the template in a new chunk called "projectstpl".. and remove that whitespace after galleryOuterTpl parameter in your snippet call.

          If you want to store the template in a file, then you use &galleryOuterTpl=`@FILE:/path/to/the/file.tpl`


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 19490
            • 24 Posts
            Worked like a charm! Thanks