EzSelection template

Author Message

Christine Romel

Sunday 24 October 2004 6:35:25 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 21:11:51
Script start
Timing: Jan 18 2025 21:11:51
Module start 'layout'
Timing: Jan 18 2025 21:11:51
Module start 'content'
Timing: Jan 18 2025 21:11:53
Module end 'content'
Timing: Jan 18 2025 21:11:53
Script end

Main resources:

Total runtime1.5170 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.8125152.6094
Module start 'layout' 0.00540.0030 740.421939.4141
Module start 'content' 0.00841.5066 779.8359405.0703
Module end 'content' 1.51500.0020 1,184.90638.1875
Script end 1.5170  1,193.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.2456160.0002
Check MTime0.00150.0967160.0001
Mysql Total
Database connection0.00120.079010.0012
Mysqli_queries1.470496.9278460.0320
Looping result0.00070.0451440.0000
Template Total1.486098.020.7430
Template load0.00220.144720.0011
Template processing1.483897.806120.7419
Template load and register function0.00030.016510.0003
states
state_id_array0.00080.051810.0008
state_identifier_array0.00140.089720.0007
Override
Cache load0.00180.1177230.0001
Sytem overhead
Fetch class attribute can translate value0.00130.088110.0013
Fetch class attribute name0.00140.091610.0014
XML
Image XML parsing0.00010.009410.0001
class_abstraction
Instantiating content class attribute0.00000.000610.0000
General
dbfile0.00070.0463100.0001
String conversion0.00000.000540.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.0002 secs