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

    I have one working gallery in the folder "gallery", which is a direct child of the root (0).

    This ist the code:
    [[MaxiGallery? &display=`embedded` &embedtype=`lightboxv2` &pics_in_a_row=`2` &max_thumb_size=`190` &max_pic_size=`800` &thumb_use_dropshadow=`1`]]

    Now I am trying to get a second gallery working with the same line of code inside another document:

    root
    +-gallery
    +-some folder
    +--second gallery

    Instead of getting the gallery manager displayed, the line of code (see above) gets displayed on the page. What do i wrong?

    Greetings,
    CoreBit

      • 7923
      • 4,213 Posts
      Edit the document and see the source in code view (either select none as RTE or use the code button in tiny/fck). RTE has probably converted the call to htmlentities when you have copy pasted it, or if you copied it from resource repo page, there will be comment tags in it.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 5798
        • 22 Posts
        Unbelievable! I looked exactly the same...I pasted the code from my posting into the page, now it works! THX!

        Greetings,
        CoreBit

        EDIT: How do comment tags look like?
          • 7923
          • 4,213 Posts
          If you copy a snippet call from resource repository, you get [<!-- -->[snippet? &call=``]<!-- -->] to your clipboard. You cannot see those <!-- --> comment tags in the RTE, only in code view.


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