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 · 4722 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 · 4722 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 a month · 2 posts
Group memberships: Members
Show profile · Link to this post
I registered on the forum just to say that this is the most retarded and infuriating practice I have ever seen in my life. "woo hoo lets show off our fancy little wiki main website BUT NO FUCKING SAME SIDEBAR MENU POSSIBLE OUT OF THE BOX EVEN IF YOU SPEND THE WHOLE FUCKING WEEKEND TRYING TO MAKE IT LIKE ON THE MAIN FUCKING EXAMPLE WEBSITE!!!!"

FUCK YOU!!!!
Avatar
virk #6
Member since Aug 2008 · 640 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 a month · 2 posts
Group memberships: Members
Show profile · Link to this post
In reply to post #1
it's not hand crafted.
it's 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:

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

++++ Playground |
<catlist playground -addPageButtonEach -noHead>
++++

Great, that was 3 days work! Thanks "simple" dokuwiki!
This post was edited 3 times, last on 2019-10-21, 18:09 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: 2019-11-12, 05:46:37 (UTC +01:00)