Hello,

i also used the branch of the menu and tried to include it. I altered the
code for the Menu Panel Extension:

{{velocity}}
##$xwiki.ssx.use('xwiki:XWikiOrgCode.MenuMacro')
##{{menu id="navigationMenu"}}
{{menu type="horizontal" position="left" id="mainMenu"}}
#set($menuContentProperty =
$xwiki.getDocument("MenuCode.MenuConfig").getObject("MenuCode.MenuConfig").getProperty('content').value)
#if("$!menuContentProperty" == '' or "$!menuContentProperty" == "\\")
  * [[Edit the menu in
administration>>XWiki.XWikiPreferences?editor=globaladmin&section=MenuConfig]]
#else
  $menuContentProperty
#end
{{/menu}}
{{/velocity}}

This leads to the behavior that the menu is rendered in the panel and not on
top of the page. Can you give me a hint how to include the xwiki menu to the
top of the page. I'm new to xwiki and i do not know if i can set the menu
globally for all spaces.

All the best

Andreas



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Horizontal-menu-like-xwiki-org-tp7411641p7580563.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to