DokuWiki

It's better when it's simple

User Tools

Site Tools


config:hidepages

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
config:hidepages [2022-02-24 15:01] – [Configuration Setting: hidepages] 195.224.173.130config:hidepages [2024-01-25 22:16] (current) Aleksandr
Line 1: Line 1:
- 
 ====== Configuration Setting: hidepages ====== ====== Configuration Setting: hidepages ======
  
Line 42: Line 41:
     └── welcome.txt     └── welcome.txt
 </code> </code>
-To hide ''admin_links'', ''sidebar'', and everything beneath '':admin'', '':labels'', '':playground'', '':templates'', and, '':wiki'', use:<code php>$conf['hidepages'] = '^:(admin*|sidebar|playground|labels|templates|wiki)';</code> +To hide ''admin_links'', ''sidebar'', and everything beneath '':admin'', '':labels'', '':playground'', '':templates'', and, '':wiki'', use: 
-{{ https://scottferguson.com.au/uploads/files/config-hidepages.png?nolink |Sitemap}}+ 
 +<code php>$conf['hidepages'] = '^:(admin*|sidebar|playground|labels|templates|wiki)';</code> 
 + 
 +{{ https://scottferguson.com.au/uploads/files/config-hidepages.png?nolink&recache |Sitemap}}
  
 ===== See also ===== ===== See also =====
Line 49: Line 51:
   * [[:config:|Configuring DokuWiki]]   * [[:config:|Configuring DokuWiki]]
   * [[https://www.php.net/manual/en/reference.pcre.pattern.syntax.php|PCRE regex syntax]]   * [[https://www.php.net/manual/en/reference.pcre.pattern.syntax.php|PCRE regex syntax]]
- 
  
config/hidepages.1645711289.txt.gz · Last modified: 2022-02-24 15:01 by 195.224.173.130

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki