Hi there,
I'm trying to make a dynamic dropdown menu - but i cant get the LIClean.xlst to throw out all the pages.
It shows all the level 1 items - but will only display level 2 items if i'm on the site with the level 2 items on it.
How do i et the dwnavigation to always get all pages ?
Regards,
Martin
Developer forum
E-mail notifications
XLST dropdown menu
Posted on 05/04/2011 11:53:48
Replies
Posted on 06/04/2011 05:09:42
Hi Martin,
Try to set “Fold out” to “Expand all” in the Manager Center->Designer->Stylesheets->Page->Template tab->Template edit->Menu (select and click on your menu item for edit). If it is not your case, please provide with some more details how you are making dropdown menu.
Best regards,
Michael
Posted on 06/04/2011 11:36:38
I'm using the class="dwnavigation" tag so i guess it isn't in the same place?
As far as i've knowledged (I'm stille a newbie) then it's LIClean.xlst it will use for generating the menu.
As far as i've knowledged (I'm stille a newbie) then it's LIClean.xlst it will use for generating the menu.
Posted on 07/04/2011 05:56:10
In that case you should set property expandmode:all, for example:
div class="dwnavigation" id="myId" settings="startlevel:1;endlevel:5;template:LIClean.xslt;expandmode:all;id:top"
BTW, LIClean.xslt created not for dropdown menu. Try to change it with DwddDropdown.xslt or add and use own xslt file. Just place it into \Files\Templates\Navigation folder.
Nicolai Høeg Pedersen
Posted on 07/04/2011 09:04:48
Hi Martin
In /Templates/Navigation you can find the xslt that Michael mentions. Copy them to your designs navigation folder.
Also take a look at the navigation chapter in the documentation:
http://engage.dynamicweb.dk/Admin/Public/Download.aspx?File=Files%2fFiler%2fDocumentation%2fDesign%2f(en-US)+Designs+and+Layouts.pdf
Also find the templates for dropdown attached.
In /Templates/Navigation you can find the xslt that Michael mentions. Copy them to your designs navigation folder.
Also take a look at the navigation chapter in the documentation:
http://engage.dynamicweb.dk/Admin/Public/Download.aspx?File=Files%2fFiler%2fDocumentation%2fDesign%2f(en-US)+Designs+and+Layouts.pdf
Also find the templates for dropdown attached.
Posted on 07/04/2011 09:11:44
It worked, thanks alot!
You must be logged in to post in the forum