Hide related images

Author Message

Bjarte Lunde

Tuesday 07 September 2004 6:40:01 am

Hi!

When i insert the <object id='xx' /> in an article it automaticly adds itself in the related objects list.

The problem is when i add an image from the media tab, the users don't have access to it when listed in the related objects list in the article.

How can i hide images from showing in the related objects list?

I have an override for the text_linked.tpl which look like this:

<ul>
{default object_name=$object.name}
<li><a href={$object.main_node.url_alias|ezurl}>{$object_name|wash}</a></li>
{/default}
</ul>

Bjarte Lunde

Wednesday 08 September 2004 9:58:07 am

Anyone who can help me?

Bjarte Lunde

Friday 29 October 2004 2:33:29 am

Please... I need to hide related images from the media tab.

Take a look at the related objects at the bottom of this page http://bamboosh.com/b/artikler/sn_status

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 06:25:32
Script start
Timing: Jan 31 2025 06:25:32
Module start 'layout'
Timing: Jan 31 2025 06:25:32
Module start 'content'
Timing: Jan 31 2025 06:25:32
Module end 'content'
Timing: Jan 31 2025 06:25:32
Script end

Main resources:

Total runtime0.0167 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 588.1250151.2109
Module start 'layout' 0.00550.0029 739.335936.6328
Module start 'content' 0.00850.0065 775.968890.0313
Module end 'content' 0.01500.0017 866.000029.9922
Script end 0.0167  895.9922 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002716.1650140.0002
Check MTime0.00126.9682140.0001
Mysql Total
Database connection0.00095.669210.0009
Mysqli_queries0.002414.394130.0008
Looping result0.00000.088410.0000
Template Total0.00127.310.0012
Template load0.00095.530910.0009
Template processing0.00031.775210.0003
Override
Cache load0.00063.701510.0006
General
dbfile0.00042.267180.0000
String conversion0.00000.058540.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