Conecting fetch to navigator templates

Author Message

arthur foelsche

Tuesday 13 May 2003 6:43:03 pm

Hi-
I'm trying to conect a fetch connection to a navigator so i can navigator. I'm having some problems making them work together- ie i can't figure it out for the life of me. So here's a rough idea of the code that i'm using:

{include name=navigator
uri='design:navigator/google.tpl'
page_uri=concat('/content/browse/',158)
item_count=$browse_list_count
view_parameters=$view_parameters
item_limit=10}

{cache-block keys=$newswire}{let newswire=fetch( 'content',
'list',
hash(parent_node_id, 158, class_filter_type, "include", class_filter_array, array(2), "sort_by", array("modified", false()), "depth", 0))
}
<table>
{section name=newswirechild loop=$newswire max=20 offset=$offset}
<tr><td valign="top"><font size=-1>{$newswirechild:item.data_map.article_date.data_int|l10n(date)}</td>
<td><font size=-1><a href={concat("/content/view/full/",$newswirechild:item.node_id)|ezurl}>{attribute_view_gui attribute=$newswirechild:item.data_map.pagetitle}</a>
<i>{attribute_view_gui attribute=$newswirechild:item.data_map.article_location}</i></td></tr>
{/section}
</table>
{/let}
{/cache-block}

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 11:04:42
Script start
Timing: Jan 18 2025 11:04:42
Module start 'layout'
Timing: Jan 18 2025 11:04:42
Module start 'content'
Timing: Jan 18 2025 11:04:43
Module end 'content'
Timing: Jan 18 2025 11:04:43
Script end

Main resources:

Total runtime0.6710 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.0056 589.1484152.6406
Module start 'layout' 0.00560.0038 741.789139.4766
Module start 'content' 0.00940.6603 781.2656410.2578
Module end 'content' 0.66960.0013 1,191.52348.2969
Script end 0.6709  1,199.8203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5138160.0002
Check MTime0.00130.1952160.0001
Mysql Total
Database connection0.00080.113910.0008
Mysqli_queries0.633994.4835460.0138
Looping result0.00040.0643440.0000
Template Total0.635494.720.3177
Template load0.00180.273920.0009
Template processing0.633694.432920.3168
Template load and register function0.00010.020610.0001
states
state_id_array0.00180.273210.0018
state_identifier_array0.00110.171220.0006
Override
Cache load0.00160.2315240.0001
Sytem overhead
Fetch class attribute can translate value0.00060.093210.0006
Fetch class attribute name0.00050.075710.0005
XML
Image XML parsing0.00010.017210.0001
class_abstraction
Instantiating content class attribute0.00000.000710.0000
General
dbfile0.00060.0913100.0001
String conversion0.00000.001640.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
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/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: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs