This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Setup & design » Remove "Latest News"
expandshrink

Remove "Latest News"

Remove "Latest News"

Tuesday 04 May 2004 3:20:01 pm - 4 replies

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?

Tuesday 04 May 2004 3:35:26 pm

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

Modified on Tuesday 04 May 2004 3:36:35 pm by Bjørn Kaarstein

Tuesday 04 May 2004 4:07:08 pm

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.

Tuesday 04 May 2004 4:44:06 pm

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

Tuesday 04 May 2004 5:07:49 pm

Ok.. I found it.. I had a "full_view_news_folder.tpl" Where the "Latest News" was located..
Tanks for the answere
happy.gif Emoticon

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from