How can I access URI parameters in templates?

Author Message

Willie Seabrook

Thursday 21 August 2003 3:17:43 am

This is a question on the ez publish 3 wiki. It is not answered though and I need to know the answer!!!

Kind Regards,
Willie Seabrook

Willie Seabrook

Sunday 24 August 2003 6:49:20 pm

Stumbled across a solution contributed by an ezpublish user. I have also amended the wiki to include this information.

Ezenv template operator:
http://www.ez.no/developer/ez_publish_3/contributions/ezenv

P.S For a 100,000 downloads there's not much activity on the forums!!!!

Regards,
Willie

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

Main resources:

Total runtime2.0685 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.0469152.6406
Module start 'layout' 0.00590.0037 740.687539.4766
Module start 'content' 0.00962.0574 780.1641425.3906
Module end 'content' 2.06700.0015 1,205.55478.1250
Script end 2.0685  1,213.6797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.1583160.0002
Check MTime0.00130.0625160.0001
Mysql Total
Database connection0.00080.039910.0008
Mysqli_queries2.018997.5985520.0388
Looping result0.00250.1227500.0001
Template Total2.021097.721.0105
Template load0.00210.100620.0010
Template processing2.018997.599321.0094
Template load and register function0.00020.011910.0002
states
state_id_array0.00110.052810.0011
state_identifier_array0.00190.092220.0010
Override
Cache load0.00170.0830130.0001
Sytem overhead
Fetch class attribute can translate value0.00060.030910.0006
Fetch class attribute name0.00190.091920.0010
XML
Image XML parsing0.00010.005510.0001
class_abstraction
Instantiating content class attribute0.00000.000320.0000
General
dbfile0.00330.1592100.0003
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
2content/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
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 5

Time used to render debug report: 0.0002 secs