Hi list!

In my portal, I want for put the folders like "sections" and in each folder some pages about section's subject, for exemple:

Folder(contains-->      Pages into this folder:
----------------------------        -------------------------------------
Food                            vegetables.psml, desserts.psml, .........
Pets                             dogs.psml, cats.psml, ............
Pictures                      family.psml, friends.psml, .............

When I stay into Welcome page, I can show one menu with all folders (Food, Pets, Pictures, ...) but when I go to one Folder (for exemple: Pets) I can't show the other folders (Food, Pictures, .... neither Pets) We are trying to change the macro: #macro(NavigationsMenu) for show menu folders in ALL pages.

My first part of macro is:

#macro(NavigationsMenu)
 #set($_navigations= $site.getMenu("navigations").elements)

 #if($site.getSiblingFolders())
   #set($_menuDefinitions=$site.getRootFolder().getMenuDefinitions())
   #foreach($_definition in $_menuDefinitions)
     #if($_definition.getName().equals("navigations"))
       #set($_navigations=$_definition.getMenuElements())
     #end
   #end
 #end

But it doesn't work! :'(

Can you help me?

Thank you!

--

Adolfo OrdiƱana
DiSiD S.L.L.
http://www.disid.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to