Very simple question

Author Message

Nebojsa Eric

Wednesday 09 May 2007 9:21:15 am

Hi all

Here is one very simple question.

How to post data to another page by using eZ? I believe it's not embarrassing to ask this kind of question. :)

So, I want something like this in my template:

<form name="form1" method="post" action="/page1/">
<input type="text" name="strFirstName" value="">
<input type="submit" value="submit"> .....
<form>

When user clicks on submit button I need to post, for example, strFirstName to another template and also use that strFirstName within another template. How?

Nebojsa Eric

Friday 11 May 2007 7:00:45 am

Solved.

Ɓukasz Serwatka

Friday 11 May 2007 11:37:29 am

For further readers:
http://ez.no/ezpublish/documentation/incoming/http_post_to_url_conversion

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 31 2025 01:29:17
Script start
Timing: Jan 31 2025 01:29:17
Module start 'layout'
Timing: Jan 31 2025 01:29:17
Module start 'content'
Timing: Jan 31 2025 01:29:17
Module end 'content'
Timing: Jan 31 2025 01:29:17
Script end

Main resources:

Total runtime0.0220 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.0078151.1953
Module start 'layout' 0.00470.0039 739.2031220.6719
Module start 'content' 0.00860.0121 959.8750997.7422
Module end 'content' 0.02070.0013 1,957.617233.9922
Script end 0.0220  1,991.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002812.8796140.0002
Check MTime0.00135.9878140.0001
Mysql Total
Database connection0.00052.294710.0005
Mysqli_queries0.002611.682530.0009
Looping result0.00000.068110.0000
Template Total0.00104.310.0010
Template load0.00083.423710.0008
Template processing0.00020.874910.0002
Override
Cache load0.00052.295810.0005
General
dbfile0.00021.070680.0000
String conversion0.00000.032440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs