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

    Well, I’ve followed the tutorial and I’m having NO luck making it work. I can’t figure out WHERE I’m supposed to see this "manage pictures" button...is it in the manager? In a preview window? I’m going mental. smiley

    In the Galleries container, I’ve called the snippet:
    [!MaxiGallery? &display=`childgalleries`!]

    In the subgalleries (Gallery 1), I’ve called the snippet:
    [[MaxiGallery? &display=`embedded` &embedtype=`slidebox` &pics_in_a_row=`3` &max_thumb_size=`110` &max_pic_size=`0` &thumb_use_dropshadow=`1`]]

    When I preview Gallery 1, all I see is the above snippet in text form and no "manage pictures" button. Correct me if I’m wrong but I’m not supposed to see that!? If I’m not supposed to see the snippet text, is it an error in the actual MaxiGallery snippet (I cut/copied from maxigallery.txt as per the tutorial)?

    I’m a newbit to ModX (obviously!) but I’ve managed to figure out chunks and snippets for other things, just not for Maxigallery. I’m supremely proud of the fact that I made Wayfinder work. LOL...I know, I know...small things amuse small minds.

    Anyway, any help you could provide would be greatly appreciated.

    KC
      • 29949
      • 2 Posts
      Hi all...

      Well, I’ve followed the tutorial and I’m having NO luck making it work. I can’t figure out WHERE I’m supposed to see this "manage pictures" button...is it in the manager? In a preview window? I’m going mental. Smiley

      In the Galleries container, I’ve called the snippet:
      [!MaxiGallery? &display=`childgalleries`!]

      In the subgalleries (Gallery 1), I’ve called the snippet:
      [[MaxiGallery? &display=`embedded` &embedtype=`slidebox` &pics_in_a_row=`3` &max_thumb_size=`110` &max_pic_size=`0` &thumb_use_dropshadow=`1`]]

      When I preview Gallery 1, all I see is the above snippet in text form and no "manage pictures" button. Correct me if I’m wrong but I’m not supposed to see that!? If I’m not supposed to see the snippet text, is it an error in the actual MaxiGallery snippet (I cut/copied from maxigallery.txt as per the tutorial)?

      I’m a newbit to ModX (obviously!) but I’ve managed to figure out chunks and snippets for other things, just not for Maxigallery. I’m supremely proud of the fact that I made Wayfinder work. LOL...I know, I know...small things amuse small minds.

      Anyway, any help you could provide would be greatly appreciated.

      KC
        • 37747
        • 50 Posts
        I can’t figure out WHERE I’m supposed to see this "manage pictures" button
        Ok, first off, where should you should see the "manage pictures" button (assuming maxigallery is installed correctly and that your snippet calls are correct):
        1.View the gallery page on the front end (public site) where you want to add pictures.
        2.Make sure you are logged into the manager using the same url prefix as you are using to view the page. (ie. if you are in the manager with www.yourdomain.com/manager then view your site with www.yourdomain.com/mygallery and NOT http://yourdomain.com/mygallery because otherwise you won´t see the manage pictures button)
        Basically think of the admin side of maxigallery like a quickedit feature.......everything is done from the front end (or FTP, but lets leave that for now).

        Next:
        all I see is the above snippet in text form
        This will probably happen to you a lot, it does for me anyway. This is because your are using the richtext editor to insert code and your snippet ends up on multiple lines, a snippet call must have the whole call one 1line, so 2 options:
        1. To correct the code that´s already there you can just click on the html view (top row, 2nd from right in document content editor buttons), un-check "word wrap" and make sure its all on 1 line. Save, and back refresh the front end page.
        2. When editing a page you can turn off the rich text: look for "page settings" tab (under document settings), un-check "Rich text?", save and continue editing.

        .....if you are still having problems then play around with calling the snippet cached or uncached:
        [!.........!]
        or
        [[.........]]
          • 7923
          • 4,213 Posts
          Check the document source in MODx manager without RTE on (or in the RTE’s code view), it might be that the syntax is converted to htmlentities.


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