Don't display image when listing articles within a folder

Author Message

Adrien Mogenet

Thursday 23 July 2009 12:16:38 pm

Good evening everyone,

I'm trying to hide images when I'm displaying subelements in a folder (ie: http://www.ze-tests.com/index.php/fre/Pentax/Les-boitiers)

I edited /design/base/override/templates/line/article.tpl, and I removed the corresponding tag, I cleared the cache but images still appear.

Am I wrong ?

Adrien

Max Keil

Thursday 23 July 2009 4:55:21 pm

Hi Adrien,

it's hard to say if you're wrong - some further information would be helpful.

Do you use ezwebin as your sitedesign? Then your template might be this: /extension/ezwebin/design/ezwebin/override/templates/line/article.tpl

Mit freundlichen Grüßen
Best regards

Max Keil

____________________________________________________________
eZ Publish Gold Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

Gaetano Giunta

Friday 24 July 2009 12:19:09 am

The first thing to do is to make sure that you are editing the templates actually used in your page - and that there is no other extension / design /override rule taking precedence.

In order to do that, you should enable debug output and the list of used templates in the debug, in an override for site.ini

Principal Consultant International Business
Member of the Community Project Board

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:24:47
Script start
Timing: Jan 19 2025 00:24:47
Module start 'layout'
Timing: Jan 19 2025 00:24:47
Module start 'content'
Timing: Jan 19 2025 00:24:48
Module end 'content'
Timing: Jan 19 2025 00:24:48
Script end

Main resources:

Total runtime1.1584 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 588.1719152.6563
Module start 'layout' 0.00680.0038 740.828139.5078
Module start 'content' 0.01061.1462 780.3359572.3281
Module end 'content' 1.15680.0016 1,352.664112.0938
Script end 1.1584  1,364.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2981160.0002
Check MTime0.00150.1315160.0001
Mysql Total
Database connection0.00100.085210.0010
Mysqli_queries1.104095.3026590.0187
Looping result0.00060.0545570.0000
Template Total1.118896.620.5594
Template load0.00200.175220.0010
Template processing1.116796.400620.5584
Template load and register function0.00020.019810.0002
states
state_id_array0.00210.179510.0021
state_identifier_array0.00140.119420.0007
Override
Cache load0.00170.1424170.0001
Sytem overhead
Fetch class attribute can translate value0.00070.060630.0002
Fetch class attribute name0.00140.117850.0003
XML
Image XML parsing0.00350.298230.0012
class_abstraction
Instantiating content class attribute0.00000.000950.0000
General
dbfile0.00440.3775220.0002
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
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs