Forums / Setup & design / Remove "Latest News"
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
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
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:)