absolutejam wrote
Honestly, I never even thought about having different sidebars per namespace - nor did I think it was innately possible - That would be a much easier solution for this problem. I've found plugin 'sidebarng' and I'll look into that to eliminate this problem.
If you're using any template which uses
tpl_include_page() for creating the sidebar (including the default "dokuwiki" template), then you don't need any specific sidebar plugin. Simply add a new sidebar page in your namespace and all pages in that namespace (and sub namespaces) will automatically show that sidebar instead of the one in the root namespace.
absolutejam wrote
Example 1 - Add a link to the user's ACL group(s) (I currently have a link to the user's own user page)
Can you please explain further? As there are no "links to users' ACL groups", this must be either a plugin or something custom-built? Or does that not exist yet and you plan to build it? If the latter, can you explain more about the (potential) setup of the wiki? Will there be a page for every group and for every user? Like user:foo, group:bar, etc?
absolutejam wrote
Example 2 - Only @admin ACL group can see an admin menu on the template.
Do you mean having several menus in the sidebar and one of them should only be visible to admins?
I think that's what the
ifauth plugin could do. Or you could
include a page from a restricted namespace.
absolutejam wrote
So basically, I would need a way to get a list of the user's ACL groups (An array with the ACL groups for example)
Oh, you're asking from a developer's viewpoint, not a user's?
That's as easy as
$INFO['userinfo']['grps'].