Hello turnermm,
Thanks to reply,
And when the namespace does not have its own startpage and/or sidebar, these both default of the sidebar and startpage of the root namespace ...
From my experience, it is only if there is an other sidebar in one namespace that you change the root default sidebar. Adding a startpage doesn't change this behavior :
[m]:sidebar for :* including startpage
:foo:start have also the sidebar from root
:foo:sidebar to have other sidebar for the foo namespace including foo:start [/m]
As said in the doc, the nearest sidebar will be used. I don't see relation
and/or with startpage but I may be wrong or have misunderstood what you explain.
After some confusions I have made with sidebar and startpage, I wrote the section
#sidebar by namespaces and
posted on forum to be sure before adding on official documentation.
As you know,
sidebar[/m] as wiki page becomes a larger concept with boostrap3 template that includes navbar, rightsidebar, pageheader, pagefooter.... and it is effectively usefull. I use [m]sidebar in this meaning of DokuWiki hooks for the rest of this post.
My
first error was to use the startpage as a namespace and the second was to think that a startpage was needed to trigger sidebar by namespaces, so I have created as much startpages needed to each created sidebar (not a real problem anyway). In any case, always trust the official doc and read it with the finger, if needed (RTFM) :-)
As I understand, startpage works as a
default page according to webserver directive ( for instance in
Apache).
One startpage is "needed" at the root (at least proposed by default config). For a wiki, with a large amount of namespaces, it could be useful in case of broken links (the nearest startpage will be searched if I anderstand well), and ..., this was my question: what are (others) advantages to have multiple startpages ?
When I have noticed that Discussion plugin behaves differently with startpages (see at this end of this
thread), I thought it was an another possible use case. Are others plugins behave this way, considering startpages as different from others pages ?
Meanwhile, I thought that it could be interesting to have a special behavior for the startpage with sidebar:
1) sidebar doesn't apply to a startpage if there is one
2) sidebar could have its own sidebar different to the sidebar of the namespace
1)
[m]foo:sidebar applies to foo:* up to meet inside the namepace another sidebar (normal behavior)
foo:start has no sidebar [/m]
2)
it is already possible to do so but not at same level
[m]foo:sidebar applies to foo:*
foo:welcome:sidebar
foo:welcome:start for having a startpage different[/m]
it could be
[m]foo:s_sidebar that only applies to start
foo:start
foo:sidebar for all foo:* except start[/m]
It could be an option in config manager. Current behavoir by default or sidebar with start page as described.
1) seems not possible at this moment and 2) would be simplified (same level)
Just an idea.
Sorry for this long post and thank you for attention :-)