Closed eduardomozart closed 3 years ago
This is the right behaviour , when useheading and hide_headpage are enabled .Could you check them? : https://www.dokuwiki.org/plugin:indexmenu#namespaces_title_and_link_headpages
But it shouldn't be a default behavior, because sub pages isn't shown and for a user that do not know it can happen may think that it's sub page doesnt exist. The plugin should be able to list sub pages that has the same namespace name than its parent. E.g. :ad:gpo:user:adm:desktop:desktop should be shown into IndexMenu tree, but only :ad:gpo:user:adm:desktop is shown. When I said that I renamed :ad:gpo:user:adm:desktop:desktop for something else, it was its namespace name to "somethingelse", not its heading. I keeped the heading from the page the same as the parent namespace and it showed twice normally. Its only when the namespace name is the same than the parent namespace that it doesn't show. When I disable the "hide_headpage" feature, it shows the namespace as expected, but the same should happen even if this feature is enabled. The "use_heading" option is enabled.
Could you post screenshots of the missing namespace and of the working tree with renamed ns? Is the Aclcache disabled?
Hello @samuelet,
The aclcache
option is set to "Groups", as I use groups to set ACLs to external users that access the Wiki.
I updated the first comment to include screenshots of the issue.
What is set for the setting 'plugin»indexmenu»headpage' in your wiki?
Could you try to disable :inside:
? That option tells that an page inside a namespace with the same name as the namespace should be seen as a headpage.
The setting 'plugin»indexmenu»headpage' is set to :start:
, :same:
and :inside:
.
I disabled the :inside:
checkbox and it shows the child page as expected. Thank you!
If I create a page into the
:ad:gpo:user:adm:desktop:desktop
, the IndexMenu shows only:ad:gpo:user:adm:desktop
into the sidebar, the subnamespace belowdesktop
(that's also calleddesktop
) isn't shown.But if I rename the last
desktop
for something else (e.g:ad:gpo:user:adm:desktop:somethingelse
), it's shown normally.It doesn't seem to be related to the template used because it happens even with DokuWiki default template and third party templates.
Some debug info:
DokuWiki version: Release 2020-07-29 "Hogfather" Template: Vector
Code that I'm using into
:wiki:sidebar
namespace:Please let me know if anymore information are needed.