I’m trying to get the koopsmailinglist module working. It comes with a snippet for the registration form. When I press submit nothing appears to happen. I edited the snippet to var_dump $_POST, and it is empty despite filling in the form. How can I retrieve POST values from within a snippet?
Hi sproutworks, normally this happens if you have the snippet call cached (eg. [[mySnippet]]) - try changing the snippet call to be uncached, eg. [!mySnippet!]
Any snippets that rely on accessing the request variables ($_POST and $_GET) will need to be called uncached.