get the site_access node everywhere

Author Message

Fabien Scantamburlo

Friday 11 April 2008 6:43:02 am

Hi,

Just an easy question, i guess :

How to get the "site_access" node form everywhere ? (in a node template or system template).
e.g.

[SiteSettings]
SiteURL=var/ez/index.php
IndexPage=/content/view/full/55/
DefaultPage=/content/view/full/55/

How to get the [i]ezcontentobjecttreenode[/i] which node_id = 55

Thanks,

Fab.

Ɓukasz Serwatka

Friday 11 April 2008 2:19:39 pm

Use "node" fetch function. Check tech. manual on ez.no/doc

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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

Main resources:

Total runtime0.6515 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.0053 589.2734152.6406
Module start 'layout' 0.00530.0033 741.914139.4609
Module start 'content' 0.00860.6415 781.3750532.9141
Module end 'content' 0.65010.0014 1,314.28918.1563
Script end 0.6515  1,322.4453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5100160.0002
Check MTime0.00130.2070160.0001
Mysql Total
Database connection0.00070.108810.0007
Mysqli_queries0.605492.9297540.0112
Looping result0.00060.0845520.0000
Template Total0.621295.320.3106
Template load0.00200.303320.0010
Template processing0.619295.038320.3096
Template load and register function0.00010.017010.0001
states
state_id_array0.00080.119710.0008
state_identifier_array0.00060.099020.0003
Override
Cache load0.00150.2241150.0001
Sytem overhead
Fetch class attribute can translate value0.00050.083520.0003
Fetch class attribute name0.00170.255240.0004
XML
Image XML parsing0.00120.182220.0006
class_abstraction
Instantiating content class attribute0.00000.001140.0000
General
dbfile0.00110.1699240.0000
String conversion0.00000.001140.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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/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: 7

Time used to render debug report: 0.0001 secs