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.

eZ debug

Timing: Jan 19 2025 02:37:03
Script start
Timing: Jan 19 2025 02:37:03
Module start 'layout'
Timing: Jan 19 2025 02:37:03
Module start 'content'
Timing: Jan 19 2025 02:37:04
Module end 'content'
Timing: Jan 19 2025 02:37:04
Script end

Main resources:

Total runtime1.3261 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 589.2734152.6406
Module start 'layout' 0.00700.0032 741.914139.4609
Module start 'content' 0.01021.3144 781.3750554.0625
Module end 'content' 1.32470.0014 1,335.437512.1563
Script end 1.3261  1,347.5938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2574160.0002
Check MTime0.00130.1016160.0001
Mysql Total
Database connection0.00090.071310.0009
Mysqli_queries1.268195.6261600.0211
Looping result0.00060.0424580.0000
Template Total1.286997.020.6435
Template load0.00230.174520.0012
Template processing1.284696.870720.6423
Template load and register function0.00020.015010.0002
states
state_id_array0.00110.085410.0011
state_identifier_array0.00170.128720.0009
Override
Cache load0.00190.1417300.0001
Sytem overhead
Fetch class attribute can translate value0.00080.061320.0004
Fetch class attribute name0.00100.073250.0002
XML
Image XML parsing0.00080.061120.0004
class_abstraction
Instantiating content class attribute0.00000.001260.0000
General
dbfile0.00090.0683180.0001
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs