We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21026
    • 53 Posts
    Quote from: sottwell at Sep 27, 2008, 12:51 AM

    One thing to know when making functions inside of snippets is that you have to put
    global $modx;

    at the beginning of your function code.

    i missing that in my functions. And that’s why my function gives errors!!! shocked
    Thanks Susan for the advice. smiley