loading a module from a template

Author Message

Roberto Sacchi

Tuesday 03 February 2009 10:56:57 am

Is it possible?
Also pass any variables?

Thanks

Rob

André R.

Tuesday 03 February 2009 1:38:09 pm

You might want to type some more info of what you want.
One reason is that it is normally opposite, views (module views) load templates, not the other way around.
http://ez.no/doc/ez_publish/technical_manual/4_0/concepts_and_basics/modules_and_views

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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 10:40:26
Script start
Timing: Jan 18 2025 10:40:26
Module start 'layout'
Timing: Jan 18 2025 10:40:26
Module start 'content'
Timing: Jan 18 2025 10:40:27
Module end 'content'
Timing: Jan 18 2025 10:40:27
Script end

Main resources:

Total runtime0.6750 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.0050 589.3516152.6250
Module start 'layout' 0.00500.0031 741.976639.4453
Module start 'content' 0.00810.6649 781.4219522.6406
Module end 'content' 0.67300.0020 1,304.06258.3125
Script end 0.6749  1,312.3750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4566160.0002
Check MTime0.00130.1873160.0001
Mysql Total
Database connection0.00080.117810.0008
Mysqli_queries0.631493.5411540.0117
Looping result0.00060.0880520.0000
Template Total0.645195.620.3226
Template load0.00210.307720.0010
Template processing0.643095.269120.3215
Template load and register function0.00010.019410.0001
states
state_id_array0.00120.173010.0012
state_identifier_array0.00070.110720.0004
Override
Cache load0.00160.2430120.0001
Sytem overhead
Fetch class attribute can translate value0.00100.142020.0005
Fetch class attribute name0.00130.188730.0004
XML
Image XML parsing0.00070.102220.0003
class_abstraction
Instantiating content class attribute0.00000.001530.0000
General
dbfile0.00080.1159170.0000
String conversion0.00000.001040.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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/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
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