Create a second list of vertical menus

Author Message

vilaysith thierry

Friday 13 March 2009 9:01:21 am

Hello :)

I would create a second list of menu navigation.

How could this be done?

Thank you for your help :)

justin kazadi

Friday 13 March 2009 10:23:47 am

Hi,
Can you please be very clear?

but if you want to create an navigation menu try this:

{def $menu_item=fetch(content,list,hash(parent_node_id,2,
                                                           sort_by,array('priority',false()),
                                                           limit,your_number_of_item,
                                                           class_filter_type,include,
                                                           class_filter_array,array('your_desired_class1',...,'your_desired_class_n')
                                                           )
                                        )
                  
                   <ul>
                   {foreach $menu_item as $element}
         
                       
                          <li><a href={$element.url_alias|ezurl()}>{$element.name|wash()}</a></li>
                      
                   {/foreach}{undef $menu_item}
               </ul>

replace parent_node_id, 2 by your desired parent node_id

i think this can help you

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.