template...

Author Message

enigmista enigmista

Friday 26 September 2003 6:31:38 am

i have ezpublish-3[1].2-1_installer.exe distribution. in main template i have this..:

<div id="linkList">
<hr />
<h3 class="select"><span>Main menu</span></h3>
<ul>
{let top_cat=2 used_node=false()}
{section show=is_set($DesignKeys:used.node)}
{set used_node=$DesignKeys:used.node}
{section-else}
{set used_node=$top_cat}
{/section}
{let node_obj=fetch(content,node,hash(node_id,$used_node))}
{section loop=fetch(content,list,hash(parent_node_id,$top_cat, class_filter_type, "include", class_filter_array, array(1),sort_by,array(array(priority))))}
<li><a href={concat("/content/view/full/",$:item.node_id,"/")|ezurl}>{$:item.name}</a></li>
{/section}
{/let}
{/let}
</ul>
</div>
<div id="linkListSub">
<hr />
<h3 class="select"><span>Submenu</span></h3>
<ul>
{let children=fetch('content',list,hash(parent_node_id,$node.node_id))}
{section name=Child loop=$children max=6}
<li><a href={concat("/content/view/full/",$Child:item.node_id)|ezurl}>{$Child:item.name}</a></li>
{/section}
{/let}
</ul>
</div>

and i can see menu and submenu... if i reload page i cannot see the submenu O_O why? tnx

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

Main resources:

Total runtime0.0212 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 588.0078151.1953
Module start 'layout' 0.00440.0041 739.2031220.6406
Module start 'content' 0.00850.0111 959.8438997.6484
Module end 'content' 0.01960.0016 1,957.492229.9922
Script end 0.0211  1,987.4844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002813.0174140.0002
Check MTime0.00115.0330140.0001
Mysql Total
Database connection0.00063.025910.0006
Mysqli_queries0.00178.143330.0006
Looping result0.00000.057510.0000
Template Total0.00115.010.0011
Template load0.00083.965710.0008
Template processing0.00021.012010.0002
Override
Cache load0.00062.685510.0006
General
dbfile0.00021.010980.0000
String conversion0.00000.037240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs