[dokuwiki] Re: Hiding namespaces

Hello Martin,

You can try the 'hidepages' config option:    $conf['hidepages'] = 'REGEX';

<from the manuals>
This option accepts a Regular Expression to filter certain pages from all automatic listings (RSS, recent changes, search results, index). This is useful to exclude certain pages like the ones used in the sidebar templates. The regexp is matched against the full page ID with a leading colon. If it matches, the page is assumed to be a hidden one. This is a rather cosmetical option not a security one!


Julian

Martin Tschofen wrote:

Right. But I want users to have access to them, just not show up in
the index as from a user's perspective they belong to the page they
appear on. acl doesn't work for that hence my need to suppress
it...martin

On 4/26/06, Chris Smith <chris@xxxxxxxxxxxxx> wrote:


Martin Tschofen wrote:


That's doesn't quite work. When I remove read rights from the
namespace where all my sidebar content resides, it doesn't show up any
more in the sidebar. Perhaps I'm doing something wrong...martin



The sidebar template (and possibly the derivatives which use the same
sidebar function) does an ACL check on the candidate sidebar file and
won't use any for which the user doesn't have read access.


Chris -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist




-- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: