Sandra Parente
|
Monday 03 April 2006 2:00:03 am
This works for my suckerfish menu:
{* FIRST LEVEL *}
{section loop=fetch(content,list,hash(parent_node_id,$top_cat, class_filter_type, "include", class_filter_array, array('folder','article','feedback_form'),sort_by,array(array(priority))))}
{let child_check=fetch(content,list,hash(parent_node_id,$:item.node_id, class_filter_type, "include", class_filter_array, array('folder','article','feedback_form')))}<li><a {section show=$child_check|count|gt(0)}{/section} href={$:item.url_alias|ezurl}>{$:item.name}</a>
I repeat it for all levels.
Sandra Parente
www.netbliss.it
|
Vidar Østevik
|
Monday 03 April 2006 3:12:02 am
Hi! I tried to specify the arrays to include by name, like 'Folder', with no luck. But when I configured the menu with node numbers (1 for folder, 2 for article and so on), it worked perfectly!
But I have another question.
Is it possible to make the top node visible, and not make it behave like a folder? I just want a link back to the "Index page", wich are the root folder in my system. Any suggestions? Regards Vidar
|