Not logged in. · Lost password · Register
Forum: General Help and Support Plugins RSS
Is there a plugin for getting an automatic sidebar menu with expanded namespaces?
Avatar
psaez #1
Member since Dec 2016 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: Is there a plugin for getting an automatic sidebar menu with expanded namespaces?
Is there a plugin for getting an automatic sidebar menu with expanded namespaces?

I tryed simplenavi plugin but the namespaces are collapsed. Also simplenavi let you pressing into namespaces and opening them for edit as a new page. I dont want that.

I want a sidebar like official DokuWiki site sidebar: https://www.dokuwiki.org/dokuwiki#

As you can see, it has namespaces used as categories. All is expanded and you can't press on namespaces.

Thank you.
Avatar
turnermm (Moderator) #2
Member since Oct 2009 · 4756 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
The Dokuwiki sidebar is hand-crafted, if the one with bold-faced headers like
   Learn about DokuWiki
   Advanced Use
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
Avatar
psaez #3
Member since Dec 2016 · 2 posts
Group memberships: Members
Show profile · Link to this post
So.. is there a plugin for menu sidebars with my needs?

thank you
Avatar
turnermm (Moderator) #4
Member since Oct 2009 · 4756 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
The only thing I can think of at the moment is to use the indexmenu plugin and set Dokuwiki's useheading config option to true. See: https://www.dokuwiki.org/config:useheading

HOW-TO:
Put your different categories of pages in separate namespaces and in each namespace create a start page with an H1 heading for that namespace.   I use that technique here:
   http://www.mturner.org/xen_server
And the indexmenu syntax I use in the sidebar page is: 
     {{indexmenu>:#2|js}}
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
Avatar
Bobakka #5
Member for 3 months · 2 posts
Group memberships: Members
Show profile · Link to this post
EDIT I was stressed out so sorry for the previous rant, the dokuwiki sidebar is as follows:
https://www.dokuwiki.org/aside?do=edit

Which currently is:

**Learn about DokuWiki**

  * [[:features|Features]] & [[:blogroll|reviews]]
  * [[:install|Installation guide]]
  * [[:manual|User manual]] & [[wiki:syntax|syntax]]
  * [[changes|Release notes]]
  * [[:faq|FAQ]]

**Advanced Use**

  * [[:extensions|Extensions]]
  * [[:development|Development manual]]

**Corporate Use**

  * [[:faq:support|Get support]]
  * [[:donate|Donations]]

**Our Community**

  * [[teams:getting_involved|Get involved]]
  * [[dokuinstall|Users]]
  * [[http://forum.dokuwiki.org|User forum]]
  * [[:newsletter|Newsletter]]
  * [[:mailinglist|Development mailinglist]]

----

Follow us on [[http://www.facebook.com/pages/DokuWiki/52877633616|Facebook]], [[http://twitter.com/dokuwiki|Twitter]] and other [[:social|social networks]].


[[:privacy|Our Privacy Policy]]
~~NOCACHE~~
This post was edited on 2019-11-21, 06:08 by Bobakka.
Avatar
virk #6
Member since Aug 2008 · 644 posts · Location: Aachen, Germany
Group memberships: Members
Show profile · Link to this post
@psaez: Perhaps indexmenu can do the job. It has got quite a huge amount of configuration options. I think, "extended namespaces" can be configured somehow.
Avatar
Bobakka #7
Member for 3 months · 2 posts
Group memberships: Members
Show profile · Link to this post
In reply to post #1
You can also do something similar with less hand crafting, if you use the catlist plugin and you use it something like that for creating separate sections:
Both lines go AT THE SAME TIME in one page called "sidebar"

<catlist wiki -smallHead -titleHead:"Wiki">

<catlist playground -smallHead -titleHead:"Playground">

This will make the namespaces to be section titles just like on the dokuwiki page (in the case of playground you need to add pages into it (type in search "playground:newpage" -> then create page) and then edit and save the actual playground page without content to convert it to pageless namespace to get the same section title effect for the playground namespace too)
Also tick the checkmark in the admin configuration for:
"Disable page cache where catlist is used"

Combine it with the folded plugin for expandable bits (with page creating buttons from catlist plugin):

<catlist wiki -addPageButtonEach -smallHead -titleHead:"Wiki">

++++ Playground |
<catlist playground -addPageButtonEach -noHead>
++++
This post was edited 4 times, last on 2019-11-21, 06:12 by Bobakka.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-01-23, 05:32:41 (UTC +01:00)