We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10076
    • 1,024 Posts
    Hi,

    I a sorry if I am questioning about a subject that might allready be in the forum. Can’t seem to find the time to go through all the forum questions and replies.

    I am trying to build a site for an architect where he has one page (say portfolio page) with one photo of each of his allready created objects. So a single photo per object.

    Objective would be to be able to click on one of the objects and get that photo enlarged on one half of the page and comments about that object on the other half. This all on a "new page", so the portfolio page would still be open underneath this just opened page.
    Futhermore on that same new page we want the option, with arrows, to browse through more photo s of that same object. Photo’s that are not shown on the portfolio page. And again per detailed photo, detailed comments of this different photo on the other half of the page. I hope this is understandable!?

    Does anyone know if this is possible using maxigallery or if there allready is a thread/solution on this subject?

    Many thanks, Frank.
      • 7923
      • 4,213 Posts
      Portfolio [!MaxiGallery? &display=`childgalleries`!]
      |-object1 [!MaxiGallery &display=`pictureview`!]
      |-object2 [!MaxiGallery &display=`pictureview`!]
      |-object3 [!MaxiGallery &display=`pictureview`!]
      |-object4 [!MaxiGallery &display=`pictureview`!]

      That would be the document tree look. Portfolio page uses childgalleries display type to show all the child galleries under portfolio. Then in each "object" document, you would use MaxiGallery with the pictureview display type to make it show the first picture automatically when the gallery is opened and then setup Jot for the picture comments.

      EDIT: and for that &display=`pictureview` to work, you’d need to use the SVN version




        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 10076
        • 1,024 Posts
        Hi,

        because of the menu structure (display in 2 blocks) my doc tree is:
        First page
        Portfolio
        -navsubcont01
        |-object1 [!MaxiGallery &display=`pictureview`!]
        |-object2 [!MaxiGallery &display=`pictureview`!]
        |-object3 [!MaxiGallery &display=`pictureview`!]
        |-object4 [!MaxiGallery &display=`pictureview`!]
        etc.....
        -navsubcont02
        |-object5 [!MaxiGallery &display=`pictureview`!]
        |-object6 [!MaxiGallery &display=`pictureview`!]
        |-object7 [!MaxiGallery &display=`pictureview`!]
        |-object8 [!MaxiGallery &display=`pictureview`!]
        etc.....
        Third page
        Fourth page

        I use the call [!MaxiGallery &display=`pictureview`!] on pages i give titles I need. And I suppose that eg |-object5 would be "page title", correct?
        Then the call [!MaxiGallery &display=`pictureview`!] is placed in the "document content"?.

        Anyway, nothing happens on the eg "]|-object5" page. What do you mean with the SVN version?

        Best Frank.
          • 7923
          • 4,213 Posts
          When using the pictureview, maxigallery doesn’t show the manage pictures button by default (because it’s in the gallery overview page), put [+maxigallery.managebutton+] placeholder in your pictureTpl to see the button.

          But you need to download the maxigallery SVN version for this to work, look at the sticky topics in maxigallery forums and google for svn client if you don’t have one already.


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 10076
            • 1,024 Posts
            Hmmm,

            excuse me, but i dont seem to find a package to download. Eg on http://svn3.cvsdude.com/doze/MaxiGallery/trunk/assets/snippets/maxigallery/ I find loads of "files" but no instruction of which one to copy/paste. For the [+maxigallery.managebutton+] do I just add that to the pictureTpl (suppose pictureTpl.html in snippets\maxigallery\templates)? Very irritating I dont find the solutio myself,but well thats the way it is,

            cheers, fr
              • 7923
              • 4,213 Posts
              You do not download anything off the website, you access that url with and SVN client and use that to download all files. You can add the [+maxigallery.managebutton+] pictureTpl.html file which is the default template, or you can make a chunk with the default content and add it there and define that in your snippet call using &pictureTpl=`chunkname`


                "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                • 10076
                • 1,024 Posts
                so,

                I downloaded a SVN client (smartsvn), and configured that. It seems to have done something but Im not sure what. I find a "hidden" dir caled ".svn".

                So I created a chunck, with the content of the pictureTpl.HTML file and called it maxGal. Inside this chunk I added this [+maxigallery.managebutton+] .

                Made a call from the Portfolio page: [!MaxiGallery? &display=`childgalleries` &pictureTpl=`maxiGal`!]
                And from the pages inside the portfolio page I ade this call: [!MaxiGallery &display=`pictureview`!]
                Unfortunately I must be doing something wrong because nothing changed. Breaking my head, which is okay cause its a hard head anyway, still.


                I have a bit the feeling of flying while I can barely walk in Modx country. Hope you find the time to help me out. Cause this would be my first assignment and I have 80% of the site done.

                  • 7923
                  • 4,213 Posts
                  Please take a new copy from the svn, I did some changes.

                  And do a export from the svn with your svnclient so you wont get the unnecessary hidden .svn folders.



                    "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                    • 10076
                    • 1,024 Posts
                    OK, i am getting somewhere.

                    I would like to show you my page setup (actually a graph designer who did the design)


                    FIRST PAGE (home)(published, in menu )
                    SECOND PAGE (PORTFOLIO, call=[!MaxiGallery? display=`childgalleries` pictureTpl=`maxiGal` childgalleries_level_limit=`0` !] )(published, in menu )
                    -navsubcontainer01(published, not in menu )
                    #object01(call=[!MaxiGallery &display=`pictureview`!] )(published, in menu )
                    #object02(call=[!MaxiGallery &display=`pictureview`!] )(published, in menu )
                    .........
                    #object06(call=[!MaxiGallery &display=`pictureview`!] )(published, in menu )

                    -navsubcontainer02(published, not in menu )
                    #object07(call=[!MaxiGallery &display=`pictureview`!] )(published, in menu )
                    #object08(call=[!MaxiGallery &display=`pictureview`!] )(published, in menu )
                    .........
                    #object12(call=[!MaxiGallery &display=`pictureview`!] )(published, in menu )
                    THIRD PAGE (philosophy)(published, in menu )
                    FOURTH PAGE (contact)(published, in menu )


                    The structure is like this because the customer would like two vertical sub menus showing only after clicking the SECOND PAGE button. So two vertical navigation blocks, build with wayfinder. And as said, only after clicking an object (an architectural design) we want to see the first picture and a description if that design. With the option to diplay more pictures plus descriptions per picture of that design. I only get the manage pictures button on the PORTFOLIO page. And don’t see how to ad pics on every object page. Thank for your time so far.
                      • 7923
                      • 4,213 Posts
                      You haven’t added the custom &pictureTpl (what should contain maxigallery.managebutton placeholder) to the snippet calls that are in objectN pages.


                        "He can have a lollipop any time he wants to. That's what it means to be a programmer."