Wednesday 26 November 2008 6:37:30 am
So what I want to do is as the title says, passing a variable to an edit template. My first idea was to just pass it with post, like this:
<form method="post" action={"/content/action"|ezurl}>
<input type="hidden" name="NodeID" value="580" />
<input type="hidden" name="ClassIdentifier" value="ii" />
<input type="hidden" name="type" value="{$my_type}" />
<input type="submit" class="button" name="NewButton" value="Create a new general description" /> </form> And then on my edit template read it wit ezhttp('type', 'post'), what has worked on other templates.
But here it doesn't work. Why doesn't it work and how could I pass my variable? thanks in advance.
|