Not logged in. · Lost password · Register
Forum: General Help and Support Features and Functionality RSS
Sidebar by namespace
Avatar
Digitalin #1
Member since Feb 2014 · 121 posts
Group memberships: Members
Show profile · Link to this post
Subject: Sidebar by namespace
Hi,

I would like adding a section 'sidebar by namespace' in the How do I add a sidebar page and need some check on formulation :

Sidebar by namespace

A single sidebar  is applied by default to all pages in the namespace where the wiki sidebar page is created.
So, you can choose where you want to display a sidebar :

:sidebar - applied for all pages in the wiki by default :*
:foo:sidebar - applied for all pages in the namespace foo:*

More, you can easely have multiple sidebar, the nearest sidebar page will be used.
There is no limit to have a specific sidebar by namespace in the site map to facilitate browsing as:
:foo:sidebar for the namespace foo:*
:bar:sidebar for the namespace bar:*
:foo:bar:sidebar for the namespace :foo:bar:*
:foo:bar:baz:sidebar for the namespace :foo:bar:baz:*

However, you have to check if your template supports this setting, see further,
as does for instance Bootstrap3 template for others bars editable in wiki,  based on DokuWiki hooks.

Thanks for your advices.
Avatar
turnermm (Moderator) #2
Member since Oct 2009 · 3518 posts · Location: Canada
Group memberships: Global Moderators, Members
Show profile · Link to this post
I may be missing the differences, but I don't see how this differs from the current statement.

I made some edits to your explanation.
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
This post was edited on 2017-01-10, 21:41 by turnermm.
Avatar
Digitalin #3
Member since Feb 2014 · 121 posts
Group memberships: Members
Show profile · Link to this post
Great :-)

Thanks.
Avatar
turnermm (Moderator) #4
Member since Oct 2009 · 3518 posts · Location: Canada
Group memberships: Global Moderators, Members
Show profile · Link to this post
However, you have to check if your template supports this setting, see further,
as does for instance Bootstrap3 template for others bars editable in wiki,  based on DokuWiki hooks.

I have trouble understanding the second part of this:
  see further,
as does for instance Bootstrap3 template for others bars editable in wiki,  based on DokuWiki hooks
So, I put a Question mark next to it on the dokuwiki.org page.
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
Avatar
Digitalin #5
Member since Feb 2014 · 121 posts
Group memberships: Members
Show profile · Link to this post
Sorry, I don't see other way to say it in few words.
Perhaps, a question mark will find someone, if you don't have idea about it :-)
Avatar
turnermm (Moderator) #6
Member since Oct 2009 · 3518 posts · Location: Canada
Group memberships: Global Moderators, Members
Show profile · Link to this post
Perhaps you can tell me what your are trying to say, because the current statement just doesn't have any meaning. If you tell me what you mean maybe I can help to clarify the statement.
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
Avatar
Digitalin #7
Member since Feb 2014 · 121 posts
Group memberships: Members
Show profile · Link to this post
Nice to say it and thanks for your proposal

Not all templates manage sidebar by wiki page. You have to check if the template include this feature.  Some templates can extend this feature to others snippets of a page like does Bootstrap3 . In this case, all explanations given in the tips page about sidebar are also true for others snippets (rightsidebar, navbar, pageheader,....) implemented by the template, using DokuWiki hook pages.

Perhaps, an other section about this topic would be better, because it doesn't relate specially to "sidebar by namespaces".
Avatar
turnermm (Moderator) #8
Member since Oct 2009 · 3518 posts · Location: Canada
Group memberships: Global Moderators, Members
Show profile · Link to this post
Try this:

Bootstrap3, and possibly other templates, extends the namespace capability to other elements of the template (rightsidebar, navbar, pageheader,....).  Check the template's configuration options.
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
Avatar
Digitalin #9
Member since Feb 2014 · 121 posts
Group memberships: Members
Show profile · Link to this post
Great !

"However, you have to check if your template supports this setting. Bootstrap3, and possibly other templates, extends the namespace capability to other elements of the template (rightsidebar, navbar, pageheader,....).  Check the template's configuration options."
Avatar
turnermm (Moderator) #10
Member since Oct 2009 · 3518 posts · Location: Canada
Group memberships: Global Moderators, Members
Show profile · Link to this post
Good.
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
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: 2017-02-21, 06:53:28 (UTC +01:00)