Stuart DH
|
Friday 16 July 2004 8:42:46 am
I'm using the 'News' demo site to produce a newspaper and need to make a change to the left menu. I want the menu to show the folders and subfolders, which is what it is currently doing, however, I don't want it to show the articles, polls etc that are listed in each if the folders...which also what it is currently doing. Could someone tell me which template/stylesheet I need to edit to prevent them from showing. I'm assuming that I need to create an override of the flat-left.tpl from the design > base > menu, but I'm not too sure what I should be editing inside the template...or even if it is the right template to edit.. Thanks in advance Stuart
http://www.wildaboutbritain.co.uk
|
Jack Rackham
|
Saturday 14 August 2004 12:57:06 am
You must exclude the class types you do not want to show.
Edit /node/view/full.tpl full_folder See: http://www.ez.no/community/forum/developer/problem_with_showing_the_content_of_folders_in_3_4_1
You can use my template just replace the class numbers or class names you want to exclude. X is where you enter the class number.
class_filter_type, 'exclude',
class_filter_array, array( 'x', 'x', 'x', 'x', 'x' ) ))
list_count=fetch('content','list_count',hash(parent_node_id,$node.node_id,
class_filter_type, 'exclude', class_filter_array, array( 'x', 'x', 'x', 'x', 'x' )))}
|