how to include ezSelection tpl

Author Message

Christine Romel

Monday 25 October 2004 12:25:37 am

Hi,
i need to use the standard tpl: design:content/datatype/edit/ezselection.tpl ..
i've a problem in displaying my contents name in the selection list..i just need a useful documenation page to help me how to include this template in another one..

----------------------------------------------
as an ex. i found: the google.tpl
{let numberOfObjects=10}
{let articleCount=fetch(content,list_count,hash(parent_node_id,$node.node_id ) )}
{let articleList=fetch(content,list,hash(parent_node_id,$node.node_id,limit,$numberOfObjects,class_filter_type,include,class_filter_array,array('article'),sort_by,array(priority,true()),depth,4,offset, $view_parameters.offset) ) }

.....
{include name=navigator
uri='design:navigator/google.tpl'
page_uri=concat( '/content/view/full/', $node.node_id, '/' )
item_count=$articleCount
view_parameters=$view_parameters
item_limit=$numberOfObjects}...

---------------------------------

how can i do as the later with ezselection.tpl..or any other tpl..
i searched a lot..but found nothing useful...
plzzzzz..helpppp..

thanx a lot..

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 20:47:28
Script start
Timing: Jan 18 2025 20:47:28
Module start 'layout'
Timing: Jan 18 2025 20:47:28
Module start 'content'
Timing: Jan 18 2025 20:47:29
Module end 'content'
Timing: Jan 18 2025 20:47:29
Script end

Main resources:

Total runtime1.1663 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 587.9063152.6250
Module start 'layout' 0.00540.0026 740.531339.4453
Module start 'content' 0.00801.1568 779.9766405.0859
Module end 'content' 1.16480.0015 1,185.06258.1641
Script end 1.1663  1,193.2266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2671160.0002
Check MTime0.00130.1145160.0001
Mysql Total
Database connection0.00080.071310.0008
Mysqli_queries1.128396.7441460.0245
Looping result0.00040.0359440.0000
Template Total1.131597.020.5657
Template load0.00220.191720.0011
Template processing1.129296.822820.5646
Template load and register function0.00020.014810.0002
states
state_id_array0.00130.115710.0013
state_identifier_array0.00130.115220.0007
Override
Cache load0.00180.1536230.0001
Sytem overhead
Fetch class attribute can translate value0.00040.038410.0004
Fetch class attribute name0.00060.050210.0006
XML
Image XML parsing0.00010.008910.0001
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00070.0579100.0001
String conversion0.00000.000640.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs