function $_GET and ezpublish

Author Message

LORDLIFEN LIFEN

Monday 31 May 2010 4:57:38 am

hi,

i want to recup in my adress my variable id
http://192.168.0.16/en/index.php/eng...e/Roland?id=05

my syntaxe don't match

{$_GET[id]} help me plz

Marcel Marnet

Monday 31 May 2010 5:24:58 am

Hey,

you'll find a solution here:

http://ez.no/doc/ez_publish/technical_manual/4_x/reference/template_operators/data_and_information_extraction/ezhttp

best regards,

Marcel

Franck Grenier

Monday 31 May 2010 6:13:38 am

Beware of cache when using ezhttp.

You should use view parameters instead.

http://www.your-url.com/(parameter1)/value1/(param2)/value2

Then, view parameters are available in templates through {$view_parameters}

Developer at Open Wide

LORDLIFEN LIFEN

Monday 31 May 2010 8:04:57 am

tanks

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 30 2025 21:13:21
Script start
Timing: Jan 30 2025 21:13:21
Module start 'layout'
Timing: Jan 30 2025 21:13:21
Module start 'content'
Timing: Jan 30 2025 21:13:22
Module end 'content'
Timing: Jan 30 2025 21:13:22
Script end

Main resources:

Total runtime1.4458 sec
Peak memory usage8,192.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.1328151.2109
Module start 'layout' 0.00470.0039 739.3438220.6875
Module start 'content' 0.00861.4359 960.03134,341.9688
Module end 'content' 1.44450.0012 5,302.00007.8516
Script end 1.4457  5,309.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2384160.0002
Check MTime0.00120.0829160.0001
Mysql Total
Database connection0.00070.049010.0007
Mysqli_queries1.353193.5900630.0215
Looping result0.00080.0551610.0000
Template Total1.390796.220.6953
Template load0.00190.134420.0010
Template processing1.388796.053320.6944
Template load and register function0.00200.137210.0020
states
state_id_array0.00090.061410.0009
state_identifier_array0.00230.159320.0012
Override
Cache load0.00170.1157240.0001
Sytem overhead
Fetch class attribute can translate value0.00220.150930.0007
Fetch class attribute name0.00260.176640.0006
XML
Image XML parsing0.00090.061630.0003
class_abstraction
Instantiating content class attribute0.00000.001040.0000
General
dbfile0.00660.4587100.0007
String conversion0.00000.000440.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
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs