keywords not run ???!!!

Author Message

Nguyen Tien Hy

Thursday 23 December 2004 1:59:09 am

Hi all,

I used a section of source code in "full-view template" as follows:

{let related=$node.object.data_map.keywords.content.related_objects}
{section show=$related}
<h2>Related documents</h2>
<ol>
{section name=Related loop=$related}
<li><a href={$:item.url_alias|ezurl}>{$:item.name}</a></li>
{/section}
</ol>
{/section}
{/let}

The 'current node' has a 'Keywords datatype' attribute with "dog" value.
I put some other objects with keyword="dog".

Nothing appears.

Help me.

Nguyen Tien Hy

Thursday 23 December 2004 2:05:29 am

Sorry,

Additinal info: I run ez 3.4.4

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 19 2025 04:33:47
Script start
Timing: Jan 19 2025 04:33:47
Module start 'layout'
Timing: Jan 19 2025 04:33:47
Module start 'content'
Timing: Jan 19 2025 04:33:49
Module end 'content'
Timing: Jan 19 2025 04:33:49
Script end

Main resources:

Total runtime1.3043 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 589.0313152.6094
Module start 'layout' 0.00660.0029 741.640639.4063
Module start 'content' 0.00941.2932 781.0469424.9453
Module end 'content' 1.30260.0017 1,205.99228.1953
Script end 1.3043  1,214.1875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.2990160.0002
Check MTime0.00170.1326160.0001
Mysql Total
Database connection0.00130.096710.0013
Mysqli_queries1.255096.2207520.0241
Looping result0.00050.0400500.0000
Template Total1.267197.120.6335
Template load0.00240.183320.0012
Template processing1.264796.959820.6323
Template load and register function0.00040.028810.0004
states
state_id_array0.00100.077010.0010
state_identifier_array0.00100.076720.0005
Override
Cache load0.00190.1440220.0001
Sytem overhead
Fetch class attribute can translate value0.00090.067410.0009
Fetch class attribute name0.00100.077320.0005
XML
Image XML parsing0.00010.009310.0001
class_abstraction
Instantiating content class attribute0.00000.000420.0000
General
dbfile0.00200.1519100.0002
String conversion0.00000.000440.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs