paremeter by url

Author Message

Alain Mangana

Tuesday 18 November 2008 3:43:51 am

I seek a way to add a parameter in a URL(<a href={$node.url_alias|ezurl}>link</a>) and then recover it back after.

is that someone has an idea

http://tikdem.com
/

Ivo Lukac

Tuesday 18 November 2008 3:49:43 am

Hello Alain,

Try this:

<a href={concat($node.url_alias,"/(param)/value")|ezurl}>link</a>

And than you can use in template of that node this:

{if $view_parameters.param|eq("value")}
...
{/if}

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Alain Mangana

Tuesday 18 November 2008 5:24:22 am

thanks

http://tikdem.com
/

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

Main resources:

Total runtime0.8614 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 587.7969152.6094
Module start 'layout' 0.00450.0024 740.406339.4141
Module start 'content' 0.00690.8531 779.8203539.1172
Module end 'content' 0.85990.0014 1,318.937512.1875
Script end 0.8614  1,331.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3728160.0002
Check MTime0.00140.1666160.0001
Mysql Total
Database connection0.00070.081410.0007
Mysqli_queries0.818194.9769570.0144
Looping result0.00040.0503550.0000
Template Total0.831496.520.4157
Template load0.00210.241720.0010
Template processing0.829396.272520.4147
Template load and register function0.00010.010410.0001
states
state_id_array0.00120.141510.0012
state_identifier_array0.00120.139320.0006
Override
Cache load0.00170.1949160.0001
Sytem overhead
Fetch class attribute can translate value0.00040.047720.0002
Fetch class attribute name0.00150.172550.0003
XML
Image XML parsing0.00080.097320.0004
class_abstraction
Instantiating content class attribute0.00000.000960.0000
General
dbfile0.00090.1027230.0000
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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs