Share » Forums » Setup & design » Make Toolbar Latest News only display...

Make Toolbar Latest News only display articles - no comments

Make Toolbar Latest News only display articles - no comments

Friday 14 April 2006 10:10:23 am - 2 replies

Author Message

Sascha Frinken

Saturday 15 April 2006 12:48:32 am

First you need to find the template that is in charge for the latest news.

In this case it is: design/standard/templates/toolbar/full/node_list.tpl

Then you create an override template for it. There are a few different methods to do this. In this example I just saved the template to design/plain/override/templates/toolbar/full/ as plain is my sitedesign.

In this template you have to look for "fetch( content, tree,..."

Change

  ...
  class_filter_type, exclude,
  class_filter_array, array( 'folder' ),
  ...

to:

  ...
  class_filter_type, exclude,
  class_filter_array, array( 'folder', 'comment' ),
  ...

HTH

Sascha

Tim Dickinson

Saturday 15 April 2006 7:29:53 am

Amazing - thankyou!

Tim

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

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

36 542 Users on board!

Forums menu