problem displaying image

Author Message

Ron Schöningh

Tuesday 14 February 2006 2:20:27 am

Dear all,

I would like to display the image attribute of the article class in pagelayout.tpl using the following code:

<div id="contentcenter">
<p>{include uri="design:page_warning.tpl"}
{$module_result.content} </p>
</div>

<div id="contentright">
{attribute_view_gui attribute=$node.object.data_map.image}
</div>

The image shows only once and after reloading or revisting the page the conentright div is empty.

Can anybody tell me what's wrong?

thx! Ron

Myxt Web Solutions
http://www.myxt.nl

laurent le cadet

Thursday 16 February 2006 6:46:45 am

Ron Schöningh

Tuesday 21 February 2006 9:00:07 am

Thanks for your answer. This is indeed the solution to my problem!

Ron

Myxt Web Solutions
http://www.myxt.nl

laurent le cadet

Tuesday 21 February 2006 9:17:37 am

Nice :)

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 22:29:21
Script start
Timing: Jan 18 2025 22:29:21
Module start 'layout'
Timing: Jan 18 2025 22:29:21
Module start 'content'
Warning: PHP: E_WARNING Jan 18 2025 22:29:22
DOMDocument::loadXML(): Opening and ending tag mismatch: literal line 2 and paragraph in Entity, line: 6 in /home/ze/public_html/share.se7enx.com/kernel/classes/datatypes/ezxmltext/ezxmloutputhandler.php on line 174
Warning: PHP: E_WARNING Jan 18 2025 22:29:22
DOMDocument::loadXML(): Opening and ending tag mismatch: paragraph line 2 and section in Entity, line: 10 in /home/ze/public_html/share.se7enx.com/kernel/classes/datatypes/ezxmltext/ezxmloutputhandler.php on line 174
Timing: Jan 18 2025 22:29:22
Module end 'content'
Timing: Jan 18 2025 22:29:22
Script end

Main resources:

Total runtime0.9004 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 587.9141152.6250
Module start 'layout' 0.00600.0032 740.539139.4453
Module start 'content' 0.00920.8899 779.9844541.3359
Module end 'content' 0.89910.0013 1,321.320312.3750
Script end 0.9004  1,333.6953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3374160.0002
Check MTime0.00130.1397160.0001
Mysql Total
Database connection0.00080.093110.0008
Mysqli_queries0.853694.7961600.0142
Looping result0.00050.0593580.0000
Template Total0.869496.520.4347
Template load0.00190.208820.0009
Template processing0.867596.339120.4337
Template load and register function0.00010.016410.0001
states
state_id_array0.00100.114610.0010
state_identifier_array0.00070.082520.0004
Override
Cache load0.00160.1747230.0001
Sytem overhead
Fetch class attribute can translate value0.00050.050820.0002
Fetch class attribute name0.00130.148050.0003
XML
Image XML parsing0.00070.079520.0004
class_abstraction
Instantiating content class attribute0.00000.001860.0000
General
dbfile0.00080.0885160.0000
String conversion0.00000.000940.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs