Panels
Navigation
en
0
Panels.WebHome
XWiki.Admin
xwiki:XWiki.msladek
xwiki:XWiki.msladek
1165426047000
1539796456000
1539796456000
1.1

#

Imported from XAR
false
xwiki/1.0
false
Panels.PanelClass
0
0
select
0
category
5
Category
0
,|
1
0
Information|Navigation|Tools|Administration|Other
com.xpn.xwiki.objects.classes.StaticListClass
0
Text
content
4
Content
25
60
0
com.xpn.xwiki.objects.classes.TextAreaClass
0
Text
description
3
Description
5
40
0
com.xpn.xwiki.objects.classes.TextAreaClass
0
name
1
Name
40
0
com.xpn.xwiki.objects.classes.StringClass
0 0 select 0 type 2 Panel type 0 ,| 1 0 view|edit com.xpn.xwiki.objects.classes.StaticListClass
Panels.Navigation
0
Panels.PanelClass
f02de886-fbf7-4421-879d-ba29405ac519
Navigation #panelheader($msg.get('xe.panels.navigation')) #set ($hiddenPages = ['Main.WebRss', 'Main.WebSearch', 'Main.LuceneSearch', 'Main.WebSearchRss', 'Main.BlogRss', 'Blog.Macros', 'Main.TagsRss', 'Main.RegisterNewUserAction', 'Main.SpaceIndex', 'Blog.Category']) #set ($blacklistedPages = ['WebPreferences']) <div id="xwikinavcontainer"> #set($spaces = $xwiki.spaces) #set($i = 0) #set($spacecount = 0) <div id="xwikinav" class="accordion"> #foreach($space in $spaces) #if ($hasAdmin || ($xwiki.hasAccessLevel('view', "${space}.WebHome") && !$blacklistedSpaces.contains($space))) #if ($doc.space == $space) #set ($spacecount = $i) #end #set($i = $i + 1) <div id="xwikinav${space}"> <div id="xwikinav${space}Header" class="accordionTabTitleBar"><h1>$space</h1></div> <div id="xwikinav${space}Content" class="accordionTabContentBox"> #set ($escapedSpace = $space.replaceAll("'", "''")) #set($hql = $xwiki.searchDocuments("doc.space='$escapedSpace' order by doc.name")) #foreach($page in $hql) #if (!$hiddenPages.contains($page) || $hasAdmin) #set($dotIndex = $page.indexOf('.')+1) #set($pageName = $page.substring($dotIndex)) #if (!$blacklistedPages.contains($pageName) || $hasAdmin) #if ($doc.fullName == $page) - *${doc.name}* #else - [$page] #end #end #end #end </div> </div> #end #end </div> </div> $xwiki.jsfx.use('js/scriptaculous/scriptaculous.js') $xwiki.jsfx.use('js/xwiki/accordion/accordion.js') <script type="text/javascript"> var obj = {div:'xwikinav',no:$spacecount,height:250}; var acc = createAccordion(obj); </script> #panelfooter() Lists all spaces and all documents in the spaces. Note that administration spaces and pages are only displayed for Administrators. This Panel provides a default automated navigation. However when your wiki grows you'll usually want to replace it with your own fixed navigation for which you'll create another Panel. Navigation view
XWiki.TagClass
0
0
checkbox
1
tags
1
Tags
1
,|
30
0
com.xpn.xwiki.objects.classes.StaticListClass
Panels.Navigation
0
XWiki.TagClass
273f653a-ffee-4101-abe4-c17460b2797f
#includeForm("Panels.PanelSheet")