Remove "Latest News"

Remove "Latest News"

Tuesday 04 May 2004 6:20:01 am - 4 replies

Author Message

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
:)

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.