Related Image

Author Message

Anna Torelli

Thursday 29 April 2004 2:10:51 am

I'm uploading content to a new web site but when I use the related objects to add an image into the xml field created with the online editor, I can properly see the image where I put it, but I also get it listed in the "Related Objects" list that appears in the final web page.
Is there any way to avoid to list images in the "Related Objects" List??

Thank you

Bjørn Kaarstein

Thursday 29 April 2004 3:25:22 am

I suppose you use a fetch to display the related objects.
You could just exclude the image class in the fetch.
http://ez.no/ez_publish/documentation/reference/data_fetching/content/list

Regards Bjørn

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

Main resources:

Total runtime0.0234 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.0052 588.0078151.1953
Module start 'layout' 0.00520.0035 739.2031220.6563
Module start 'content' 0.00870.0135 959.8594997.6484
Module end 'content' 0.02220.0012 1,957.507829.9922
Script end 0.0234  1,987.5000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00239.7149140.0002
Check MTime0.00104.2132140.0001
Mysql Total
Database connection0.00104.147910.0010
Mysqli_queries0.002610.950430.0009
Looping result0.00000.042810.0000
Template Total0.00083.610.0008
Template load0.00072.877810.0007
Template processing0.00020.679910.0002
Override
Cache load0.00051.979710.0005
General
dbfile0.00177.383580.0002
String conversion0.00000.021440.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