Remove "Latest News"

Author Message

Anders Iversby

Tuesday 04 May 2004 6:20:01 am

When I view my article list, "Latest News" is printet on the top of page. Is there any way to delete this, or at least change it?

Bjørn Kaarstein

Tuesday 04 May 2004 6:35:26 am

Just go directly to the template and modify it. If you're unsure on which template is being used, turn on debugging in site.ini.append.php

[TemplateSettings]
Debug=Enabled

This seems like a standard template, so it's much better to write an override for that template.

Regards Bjørn

Anders Iversby

Tuesday 04 May 2004 7:07:08 am

Hello. Tanks for your answere.
It is a standard template: line_view_news_article.tpl

and this is the code:

<table class="latest_news">
<tr>
<td colspan="2">
<div class="headline_link">
<a href={$node.url_alias|ezurl}>
{attribute_view_gui
attribute=$node.object.data_map.title}
</a>
</div>
</td>
</tr>
<tr>
<td>
{attribute_view_gui attribute=$node.object.data_map.intro}
</td>
<td valign="top">
<a href={$node.url_alias|ezurl}>
{attribute_view_gui
attribute=$node.object.data_map.thumbnail image_class="small"}
</a>
</td>
</tr>
</table>

But I can't find where the "Latest News"come from.

Tobias Persson

Tuesday 04 May 2004 7:44:06 am

If it is seen on every page it is probably in pagelayout.tpl

Anders Iversby

Tuesday 04 May 2004 8:07:49 am

Ok.. I found it.. I had a "full_view_news_folder.tpl" Where the "Latest News" was located..
Tanks for the answere
:)

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

Main resources:

Total runtime0.5864 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 589.3359152.6094
Module start 'layout' 0.00500.0018 741.945339.4141
Module start 'content' 0.00680.5781 781.3594561.1563
Module end 'content' 0.58490.0015 1,342.515612.1875
Script end 0.5864  1,354.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.5265160.0002
Check MTime0.00130.2178160.0001
Mysql Total
Database connection0.00060.096210.0006
Mysqli_queries0.536191.4111650.0082
Looping result0.00050.0918630.0000
Template Total0.560495.620.2802
Template load0.00190.318920.0009
Template processing0.558595.240020.2793
Template load and register function0.00020.034610.0002
states
state_id_array0.00090.149410.0009
state_identifier_array0.00080.135120.0004
Override
Cache load0.00160.2736450.0000
Sytem overhead
Fetch class attribute can translate value0.00090.160330.0003
Fetch class attribute name0.00110.194060.0002
XML
Image XML parsing0.00220.366830.0007
class_abstraction
Instantiating content class attribute0.00000.001760.0000
General
dbfile0.00210.3501160.0001
String conversion0.00000.001140.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/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: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs