tipafriend_top_list not working

Author Message

Jack Rackham

Sunday 24 October 2004 10:13:48 am

This code is not working in a pagelayout template in ez 3.4.2
Is there a bug in 3.4.2?

{let tipsend_list=fetch('content','tipafriend_top_list',hash(limit,5,offset,0))}

<div id="mostpopular">
<h3>{""|i18n("design/news/layout")}</h3>
<ul>
{section var=tipped loop=$tipsend_list sequence=array(bglight,bgdark)}
<li class="{$tipped.sequence}">
<a href={$tipped.item.url_alias|ezurl}>{$tipped.item.name|wash}</a>
<div class="date">
({$tipped.item.object.published|l10n( shortdate )})
</div>
</li>
{/section}
</ul>
</div>
{/let}

Ɓukasz Serwatka

Sunday 24 October 2004 11:11:09 am

Did you try this?

{$tipsend_list|attribute(show)}

Does $tipsend_list store any data?

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 00:20:15
Script start
Timing: Jan 19 2025 00:20:15
Module start 'layout'
Timing: Jan 19 2025 00:20:15
Module start 'content'
Timing: Jan 19 2025 00:20:16
Module end 'content'
Timing: Jan 19 2025 00:20:16
Script end

Main resources:

Total runtime0.9142 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 587.9141152.6250
Module start 'layout' 0.00530.0028 740.539139.4453
Module start 'content' 0.00810.9044 779.9844533.4141
Module end 'content' 0.91250.0015 1,313.39848.1641
Script end 0.9140  1,321.5625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3671160.0002
Check MTime0.00150.1678160.0001
Mysql Total
Database connection0.00060.068610.0006
Mysqli_queries0.865494.6692540.0160
Looping result0.00060.0632520.0000
Template Total0.883396.620.4416
Template load0.00240.262320.0012
Template processing0.880996.356320.4404
Template load and register function0.00010.012610.0001
states
state_id_array0.00080.092910.0008
state_identifier_array0.00220.237820.0011
Override
Cache load0.00180.2023270.0001
Sytem overhead
Fetch class attribute can translate value0.00070.076120.0003
Fetch class attribute name0.00110.124040.0003
XML
Image XML parsing0.00130.140120.0006
class_abstraction
Instantiating content class attribute0.00000.000840.0000
General
dbfile0.00100.1138240.0000
String conversion0.00000.000840.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/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: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs