HTTP post to url conversion trouble

Author Message

Dennis Jessen

Tuesday 07 June 2005 3:54:57 am

Hello,

following what is outlined here:

http://www.ez.no/ez_publish/documentation/incoming/http_post_to_url_conversion

i still cant make it work, this is my code:

<form action={"content/action"|ezurl} method="post" >
{let 
folder=fetch( 'content','node',hash('node_id',60))
}
<input type="hidden" name="DestinationURL" value="{$folder.url_alias|ezurl(no)}" />
<SELECT  name="(type)" size="1">
<OPTION value="0">0</OPTION>
<OPTION value="1">1</OPTION>
<OPTION value="2">2</OPTION>
</SELECT>
<INPUT name="Submit" type="submit" value="Submit"/>
{/let}
</FORM>

this load a 'this page cannot be displayer' in IE with the url

 mysiteurl/index.php/mysite/content/action

wich i assume is correct. the DestinationUrl resolves to

/index.php/mysite/thefolder

The URL i would like to have in the end is something like:

mysiteurl/index.php/mysite/content/view/full/60/(type)/0/

Thanks for your time.

Dennis

Łukasz Serwatka

Tuesday 07 June 2005 5:30:40 am

Hi Dennis,

Could you report this in bug system?
http://ez.no/community/bugs

Thank you!

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Dennis Jessen

Tuesday 07 June 2005 1:37:30 pm

the anwser was given to me in the bug section, just for the record i will repeat it here.

its not a bug, without the ezurl operator in the value of 'DestinationURL' it works as expected.

Thank you

Dennis

Łukasz Serwatka

Tuesday 07 June 2005 1:50:32 pm

Dennis, the example in documentation should be change as well, now is confusing for users and not only ;)

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.