ez.no / ezpublish / documentation / incoming / http post to url conversion
These documentation pages are no longer maintained. Please visit the new documentation site.
Available from version 3.5
This will explain how to use forms to create URLs.
Input variables :
Example :
In the template for the node ez_publish/news/test:
<form action={"content/action"|ezurl} method="post"> <input type="hidden" name="DestinationURL" value="{$node.url_alias|ezurl(no)}" /> <input type="checkbox" name="(year)" value="1999" /> <br /> <input type="checkbox" name="(month)" value="12" /> <br /> <input type="submit" name="Submit" value="Go" /> </form>
The result will be automatic redirection to: ez_publish/news/test/(year)/1999/(month)/12 if both checkboxes are checked.
| Operator | Description |
|---|
Comments
ezurl not neccesary
Dennis Jessen
Tuesday 07 June 2005 10:11:09 pm
So multiple submits _are_ possible?
Hans Melis
Monday 09 August 2004 12:22:38 pm
If names other than "Submit" are not ignored, it should be possible to do what Paul said, simply by giving the submits a new name.
--
Hans
Ignoring submit button
Kåre Køhler Høvik
Monday 09 August 2004 9:31:30 am
You'll probably be able to solve your problem using multiple forms and hidden input.
--
Kåre Høvik
Is there a reason why the submit parameter is ignored?
Paul Borgermans
Friday 06 August 2004 11:38:01 pm
Regards
-paul