Extract a param from the url

Author Message

Hugo Siles

Thursday 01 April 2004 6:07:41 am

hi, i need some help to extract some param from the url page, for example i have this code:
{section}
{*some code here*}
{section-else}
<a href={concat( "/mainpage?", $Child.node_id)|ezurl}>
<IMG SRC={"folder_closed.png"|ezimage} WIDTH="25" HEIGHT="25">
</a>
{/section}

i want to pass a parameter to the main page, but i don't know how since i'm usin the <href> tag, please help me to get the $Child.node_id parameter in the mainpage ....

Any help would be greatly apreciated.

Hugo

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

Main resources:

Total runtime0.9087 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.0064 589.1563152.6250
Module start 'layout' 0.00640.0027 741.781339.4453
Module start 'content' 0.00910.8982 781.2266399.9531
Module end 'content' 0.90730.0014 1,181.17978.1641
Script end 0.9086  1,189.3438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3685160.0002
Check MTime0.00140.1521160.0001
Mysql Total
Database connection0.00070.074610.0007
Mysqli_queries0.869895.7177460.0189
Looping result0.00040.0470440.0000
Template Total0.873696.120.4368
Template load0.00210.234420.0011
Template processing0.871595.902720.4357
Template load and register function0.00030.029010.0003
states
state_id_array0.00150.160210.0015
state_identifier_array0.00140.156120.0007
Override
Cache load0.00170.1902140.0001
Sytem overhead
Fetch class attribute can translate value0.00080.090810.0008
Fetch class attribute name0.00080.083610.0008
XML
Image XML parsing0.00010.011210.0001
class_abstraction
Instantiating content class attribute0.00000.000910.0000
General
dbfile0.00200.2206100.0002
String conversion0.00000.001240.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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/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: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs