Passing HTTP GET parameters in ezP

Author Message

Tristan Koen

Thursday 14 August 2003 2:49:21 am

How does on pass HTTP GET parameters in ezPublish? Looking at the existing templates (such as user/register),
parameters such as RedirectURI are passed from page to page by HTTP POST variables initialised in <input type="hidden"> tags.

I have nothing against POST, but it is not always the best tool for the job. If I want to have a text link on the login template to take users to the user registration page, how do I construct the target URL so that RedirectURI is included?

Something along the lines of http://mysite.com/user/register/redirect_uri/site.com/content/view/full/12 doesn't work at all.

This is also something I would like for the module tipafriend.
I can get it to work for articles by using
/content/tipafriend/63
where 63 is the nodeid for my article. Looking at the source code, it can also take a number of POST parameters (subject, email address, etc) that I could pre-fill from my user details. Can I do this without a POST?

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 18 2025 19:19:27
Script start
Timing: Jan 18 2025 19:19:27
Module start 'layout'
Timing: Jan 18 2025 19:19:27
Module start 'content'
Timing: Jan 18 2025 19:19:27
Module end 'content'
Timing: Jan 18 2025 19:19:27
Script end

Main resources:

Total runtime0.6264 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 589.1328152.6250
Module start 'layout' 0.00730.0030 741.757839.4453
Module start 'content' 0.01020.6146 781.2031402.1406
Module end 'content' 0.62480.0015 1,183.34388.1563
Script end 0.6263  1,191.5000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.6643160.0003
Check MTime0.00140.2306160.0001
Mysql Total
Database connection0.00200.318310.0020
Mysqli_queries0.586693.6437460.0128
Looping result0.00050.0749440.0000
Template Total0.589194.120.2946
Template load0.00250.399620.0013
Template processing0.586693.650720.2933
Template load and register function0.00020.026110.0002
states
state_id_array0.00140.223210.0014
state_identifier_array0.00120.184920.0006
Override
Cache load0.00200.3259110.0002
Sytem overhead
Fetch class attribute can translate value0.00070.111010.0007
Fetch class attribute name0.00070.115710.0007
XML
Image XML parsing0.00010.017710.0001
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00070.1065100.0001
String conversion0.00000.001440.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs