We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7391
    • 49 Posts
    I’m trying to get this snippet to work. But i keep getting this error. What can i do to fix this?
    Parse error: syntax error, unexpected ':' in /home/dmaster/public_html/manager/includes/document.parser.class.inc.php(705) : eval()'d code on line 846
    
      • 7923
      • 4,213 Posts
      What version is that? The 0.5 beta dont have that many lines in snippet code.. If that’s 0.4.1, try pasting the snippet code again, it seems that something went wrong when you first did it, or try 0.5 beta 2 rev 49. I think its pretty much as stable as 0.4.1.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 7391
        • 49 Posts
        Ok.. I just updated to the newest version (v0.5 BETA2 Rev 49 ). The problem i’m having now is that when i click on the "manage pictures" button the only thing it does is refresh the page.
        Is there something i’m doing wrong?
        • Is your page cached? You need to call the MaxiGallery snippet uncached [!MaxiGallery .... !]
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 7391
            • 49 Posts
            Excellent!!! What i did was i created a new page and unchecked the "cacheable" checkbox and then BAM!!! it works

            thanks alot bro