We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3722
    • 171 Posts
    Does anyone have an easy install and setup procedure for a newbie?
    I have looked through the documentation and cannot get it to work.
    I am stuck here (from the wiki). "Create a new document in the folder with page title Gallery 1"

    I am looking for detailed instructions.
    Thanks
    BG66
      • 14323
      • 7 Posts
      I’m also a new user so I can’t be that much help, but put:

      [!MaxiGallery? !]

      on the page, turn the caching option off (that’s important), then look at the page. There should be a button allowing you to manage the images on that page (gallery).

      Now, if you can get smoothgallery working maybe you can help me out...
        • 3722
        • 171 Posts
        Thank jmickela,

        I can get the button to show, but it’s not working past that.
        I am doing this on my local host, not sure if that matters.

        BG66
          • 7923
          • 4,213 Posts
          What do you mean by "it’s not working past that"? Eg. what happens when you click manage pictures button?

          If the page just reloads, double check that you have set the page to be not cacheable.

          Also post your snippet call and document setup.. it helps to start figuring out your problem.


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 3722
            • 171 Posts
            I get to the page to upload pictures and get this error:


            « MODx Parse Error »
            MODx encountered the following error while attempting to parse the requested resource:
            « PHP Parse Error »

            PHP error debug
            Error: Function split() is deprecated
            Error type/ Nr.: - 8192
            File: C:\xampp\htdocs\vectortechgraphics.com\assets\snippets\maxigallery\maxigallery.class.inc.php
            Line: 242
            Line 242 source: $sizes = split(’x’, $max_thumb_size);

            Parser timing
            MySQL: 0.0193 s (6 Requests)
            PHP: 0.1669 s
            Total: 0.1862 s

            My snippet call is:
            [!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &pics_per_row=`3` &max_thumb_size=`110` &max_pic_size=`0` &thumb_use_dropshadow=`1`!]
              • 14323
              • 7 Posts
              Are you using the default template? If not try it with that and see if it works. I found that my problems were caused by the jQuery I had put in my template and switching to the default one helped me figure out how to get things right.
                • 26931
                • 2,314 Posts
                Hi BobbyG66,
                I get to the page to upload pictures and get this error
                see here -> http://modxcms.com/forums/index.php?topic=41196.0

                try replacing Line 265 of maxigallery.class.inc.php:
                $sizes = split('x', $max_thumb_size);

                with
                $sizes = explode('x', $max_thumb_size);
                  • 3722
                  • 171 Posts
                  Sharkbait! That worked!

                  Thank you, now I can work on formatting it to look good.
                  BG66
                  • 2 years and 7 months later, that is exactly the same solution I needed too. Thanks, sharkbait!
                    • 2 years and 7 months later, that is exactly the same solution I needed too. Thanks, sharkbait!