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

    I would like to have my gallery offer back/next links like this one has:

    http://www.netguru.fi/modx/maxigallery-slidebox.html

    How do i achieve that? What would the template need to be like?

    Thanks in advance.
      • 7923
      • 4,213 Posts
      Use &display=`embedded` &embedtype=`slidebox` in your snippet call.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 36805
        • 354 Posts
        Quote from: doze at Mar 23, 2007, 10:50 AM

        Use &display=`embedded` &embedtype=`slidebox` in your snippet call.

        I took those 2 parameters from the example call on your site and put them in before i asked my question here. It did not work for me and that’s why I am asking here now, just to see if i am missing something.

        The full call i am using is like this:

        [!MaxiGallery? &view_gallery=`[*parent*]` &display=`embedded` &embedtype=`slidebox` &pics_per_row=`6` &thumb_use_dropshadow=`0`!]

        Note: I am using MaxiGallery - 0.5 RC 1 on ModX 0.9.5

        You can see my current result here: http://www.vmctechnology.com/index.php?id=52
          • 7923
          • 4,213 Posts
          Go to the picture management and click save changes so it’ll create the necessary xml file for slidebox script


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 36805
            • 354 Posts
            Quote from: doze at Mar 23, 2007, 12:05 PM

            Go to the picture management and click save changes so it’ll create the necessary xml file for slidebox script
            As i can see in my apache error log (see end of post) you are right about the missing xml file(s). Saving the changes by the maxigallery management does not solve it however. Further ideas and suggestions would be greatly appreciated.
            [Fri Mar 23 21:10:56 2007] [error] [client 86.95.63.63] File does not exist: /home/vmctech/domains/vmctechnology.com/public_html/assets/galleries/55/gallery.xml
            [Fri Mar 23 21:10:56 2007] [error] [client 86.95.63.63] File does not exist: /home/vmctech/domains/vmctechnology.com/public_html/404.shtml
            
              • 7923
              • 4,213 Posts
              Don’t know then, it should work and works for me in v0.5. MaxiGallery generates the xml file when you click the save settings button in picture management if it sees that slidebox embedtype is in use.


                "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                • 36805
                • 354 Posts
                I figured out what was going on by now. Your tip with the xml got me started, thank you for that!

                My situation is that i am using the parents document gallery to have one spot to manage the gallery that appears for each of the 4 pages associated with the tabs i have for the different information my client associates with the location.

                I changed the maxigallery call in the template i use for the 4 ’sub’-pages (’sub’ meaning a child modx document tree wise). All this time i was wondering why i kept getting the slidebox style but not have the mg script write those xmls.

                It turned out all i forgot to do was change the maxigallery call of the parent’s template as well and as that one is used for managing the mg script had no way to know i wanted it to prepare for slidebox viewing.