We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34162
    • 1 Posts
    one final question:
    let’s say i want the following:

    --Gallery-Index
    |-2004
    |-Event1
    |-Event2
    |-2005
    |-Event1
    |-2006
    |-Event1
    |-Event2
    |-Event3

    how would i do that?
      • 7923
      • 4,213 Posts
      Depends on how you want the display to be.. do you want that in gallery page, there is only 2004, 2005, 2006 links and those documents displays the childgalleries.. or do you want that the gallery page shows all galleries?

      If you want all, use [!MaxiGallery? &display=`childgalleries`!] in the Gallery document.

      If you want just links to the 2004, 2005, 2006 documents in Gallery document, use Ditto to list them and use MaxiGallerySolo in Ditto’s template to get a picture from the galleries inside, if you want.

      And then have [!MaxiGallery? &display=`childgalleries`!] the year documents. So it would be something like this:

      --Gallery-Index [!MaxiGallery? &display=`childgalleries`!] or [!Ditto? &depth=`1` ...!]
      |-2004 [!MaxiGallery? &display=`childgalleries`!]
      |-Event1 [!MaxiGallery!]
      |-Event2 [!MaxiGallery!]
      |-2005 [!MaxiGallery? &display=`childgalleries`!]
      |-Event1 [!MaxiGallery!]
      |-2006 [!MaxiGallery? &display=`childgalleries`!]
      |-Event1 [!MaxiGallery!]
      |-Event2 [!MaxiGallery!]
      |-Event3 [!MaxiGallery!]


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 8334
        • 17 Posts
        Ok. Here’s what I’ve got.

        Main Gallery page with this on it:

        <div id="center">
        <h1><img alt="Dzyn Lab - Portfolio Gallery" src="http://www.dzynlab.com/assets/images/dl-gallery_crushed.png" title="Dzyn Lab - Portfolio Gallery" />
        </h1>
        </div>
        {{onecol-gallery}}

        Where the {{onecol-gallery}} is:
        <div id="tricols">
        [!MaxiGallery? &display=`childgalleries`!]
        </div>

        then I duplicated the {{onecol-gallery}} chuck and named it: {{onecol-gallery-child}} which then looks like this:
        <div id="tricols">
        [!MaxiGallery!]
        </div>

        Then I duplicated the Main gallery page three times and on each is this:
        <div id="center">
        <h1><img alt="Dzyn Lab - Portfolio Gallery" src="http://www.dzynlab.com/assets/images/dl-gallery_crushed.png" title="Dzyn Lab - Portfolio Gallery" />
        </h1>
        </div>
        {{onecol-gallery-child}}

        What I now want to do is place three images on the main gallery page one for each category of portfolio items that would correlate to the other gallery pages I’ve created and link them to their respective gallery page. Will this work?

        The final outcome will be main gallery page with three category icons linked to the gallery page for each category.
          • 34162
          • 1 Posts
          Quote from: doze at Feb 19, 2007, 04:14 PM

          If you want just links to the 2004, 2005, 2006 documents in Gallery document, use Ditto to list them and use MaxiGallerySolo in Ditto’s template to get a picture from the galleries inside, if you want.

          And then have [!MaxiGallery? &display=`childgalleries`!] the year documents.
          that’s exactely what i want to do.

          THANKS a lot kiss
            • 7923
            • 4,213 Posts
            Quote from: DzynLabJW at Feb 19, 2007, 04:52 PM

            Ok. Here’s what I’ve got.

            Main Gallery page with this on it:

            <div id="center">
            <h1><img alt="Dzyn Lab - Portfolio Gallery" src="http://www.dzynlab.com/assets/images/dl-gallery_crushed.png" title="Dzyn Lab - Portfolio Gallery" />
            </h1>
            </div>

            ...

            What I now want to do is place three images on the main gallery page one for each category of portfolio items that would correlate to the other gallery pages I’ve created and link them to their respective gallery page. Will this work?

            The final outcome will be main gallery page with three category icons linked to the gallery page for each category.
            Instead of doing the icons like that in the documents, put the icons in a image TV and use Ditto to show the child galleries in the main document and in Ditto’s template get the icon from the image TV.


              "He can have a lollipop any time he wants to. That's what it means to be a programmer."
              • 8334
              • 17 Posts
              huh Seriously? That’s a LOT of work and is ridiculously complex for something that should have been thought of from the beginning! You should add that in to the description of the Snippet that it can only handle one gallery without having to jump through coding hoops to get a simple multi-gallery going...
                • 7923
                • 4,213 Posts
                Umm.. I really don’t get that reply.. There’s no problems in getting "multi-gallery" going, of any depth.. the thing that you are requesting has nothing to do with the gallery.

                But the simplest way to do what you want would be to put the "custom icon" html code in the the summary field of the document and use that in the childgalleryPictureTpl, eg add [+maxigallery.pageinfo.introtext+] in it.


                  "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                  • 8334
                  • 17 Posts
                  Having to go through the whole Ditto thing to simply use custom icons for galleries... even though as it is now, I’ve still not got multiple galleries going the default way!
                    • 7923
                    • 4,213 Posts
                    Yeah, well custom icons are what they sound, custom. And to implement that, it needs custom solutions. That kind of thing will never be part of this snippet, sorry.


                      "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                      • 8334
                      • 17 Posts
                      Ok. I’ll give you that! grin Now, if only I could just get the thing working to begin with!