Fetch Section Id

Author Message

John Smith

Tuesday 25 October 2005 3:27:59 am

Do anybody know how to fetch section id and section name in any of the templates please.

Please help

Cheers

Kristian Hole

Tuesday 25 October 2005 5:55:33 am

Hi

Check out this page:
http://ez.no/doc/ez_publish/technical_manual/3_6/reference/modules/section/fetch_functions/object

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

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

Main resources:

Total runtime0.7139 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 589.0391152.6094
Module start 'layout' 0.00660.0037 741.648439.4141
Module start 'content' 0.01030.7023 781.0625518.3516
Module end 'content' 0.71260.0013 1,299.41418.3438
Script end 0.7139  1,307.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.5500160.0002
Check MTime0.00160.2267160.0001
Mysql Total
Database connection0.00080.115310.0008
Mysqli_queries0.662592.8038540.0123
Looping result0.00070.1002520.0000
Template Total0.670393.920.3352
Template load0.00250.345620.0012
Template processing0.667893.547320.3339
Template load and register function0.00020.034910.0002
states
state_id_array0.00170.236410.0017
state_identifier_array0.00100.145120.0005
Override
Cache load0.00210.2923110.0002
Sytem overhead
Fetch class attribute can translate value0.00090.129420.0005
Fetch class attribute name0.00140.196530.0005
XML
Image XML parsing0.00050.075120.0003
class_abstraction
Instantiating content class attribute0.00000.001430.0000
General
dbfile0.00711.0006160.0004
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
2content/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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/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: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs