From 0dc92c6f78995331021c3b8c6a889913cf3f7de3 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Thu, 3 Nov 2005 11:17:26 +0100 Subject: hidepages configoption This new option accepts a RegExp 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 sitebar 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. IMPORTANT: this is not related to ACL. A hidden page is still visible to all users (if not restricted by ACL) when linked or called directly. darcs-hash:20051103101726-6e07b-8d45912a1b4f6cfc9e3fce147c15f84a58ea7ca2.gz --- conf/dokuwiki.php | 1 + 1 file changed, 1 insertion(+) (limited to 'conf/dokuwiki.php') diff --git a/conf/dokuwiki.php b/conf/dokuwiki.php index 2d89d1cde..65383017c 100644 --- a/conf/dokuwiki.php +++ b/conf/dokuwiki.php @@ -79,6 +79,7 @@ $conf['spellchecker']= 0; //enable Spellchecker (needs PHP >= 4.3 $conf['subscribers'] = 0; //enable change notice subscription support $conf['pluginmanager'] = 0; //enable automated plugin management (requires plugin) $conf['compress'] = 1; //Strip whitespaces and comments from Styles and JavaScript? 1|0 +$conf['hidepages'] = ''; //Regexp for pages to be skipped from RSS, Search and Recent Changes $conf['rss_type'] = 'rss1'; //type of RSS feed to provide, by default: // 'rss' - RSS 0.91 // 'rss1' - RSS 1.0 -- cgit v1.2.3