Extra view parameters

Author Message

Karsten Jennissen

Friday 26 March 2004 2:57:14 pm

Anyone know how to achieve the extra view parameters with nice urls in the current stable version? The ez.no site seems to have it.

Example: http://www.ez.no/ez_publish/documentation/toc/(from)/29258

../nice/url/(param)/value

Karsten Jennissen

Monday 29 March 2004 7:26:43 am

In know, asking questions at the beginning of the weekend ain't a good idea, since you all go on your well deserved weekend break. But I am one of those, who primarily work on weekends, since I got a day job... :-)

Anyone on my question?

Bård Farstad

Tuesday 30 March 2004 7:01:09 am

To fetch the value of (param) you can just use the code

$view_parameters.param

You don't need to define the url parameters anywhere, it will be directly available in the template.

--bård

Documentation: http://ez.no/doc

Karsten Jennissen

Tuesday 30 March 2004 7:23:03 am

Thanks for your reply, Bard. Is this available in 3.3 or in the upcoming 3.4?

I am currently developing on 3.3, hoping for a go-live sometime shortly after the release of 3.4, after migrating and testing on 3.4. (I will have to backport what is currently in 3.4 if this doesn't work in 3.3)

Bård Farstad

Tuesday 30 March 2004 10:51:12 pm

This was added in 3.4. It's not available in 3.3.

--bård

Documentation: http://ez.no/doc

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 22:33:03
Script start
Timing: Jan 18 2025 22:33:03
Module start 'layout'
Timing: Jan 18 2025 22:33:03
Module start 'content'
Timing: Jan 18 2025 22:33:04
Module end 'content'
Timing: Jan 18 2025 22:33:04
Script end

Main resources:

Total runtime0.9705 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0081 589.3359152.6250
Module start 'layout' 0.00810.0035 741.960939.4453
Module start 'content' 0.01150.9575 781.4063552.9297
Module end 'content' 0.96900.0014 1,334.335912.1719
Script end 0.9704  1,346.5078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3760160.0002
Check MTime0.00140.1432160.0001
Mysql Total
Database connection0.00060.065910.0006
Mysqli_queries0.910693.8348630.0145
Looping result0.00090.0881610.0000
Template Total0.926295.420.4631
Template load0.00210.218720.0011
Template processing0.924095.214720.4620
Template load and register function0.00020.022910.0002
states
state_id_array0.00120.125910.0012
state_identifier_array0.00260.268720.0013
Override
Cache load0.00170.1796220.0001
Sytem overhead
Fetch class attribute can translate value0.00080.082220.0004
Fetch class attribute name0.00230.240960.0004
XML
Image XML parsing0.00070.072120.0003
class_abstraction
Instantiating content class attribute0.00010.005970.0000
General
dbfile0.00090.0878170.0001
String conversion0.00000.000940.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs