plugin:config
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:config [2017-12-01 00:28] – 2600:1700:f21:5320:b163:44ef:a3fc:f26c | plugin:config [2023-08-24 23:01] (current) – Klap-in | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | GOTCHA!!! | + | ====== Configuration Manager Plugin ====== |
+ | |||
+ | ---- plugin ---- | ||
+ | description: | ||
+ | author | ||
+ | email : chris@jalakai.co.uk | ||
+ | type : admin | ||
+ | lastupdate : 2014-03-18 | ||
+ | compatible : (bundled) | ||
+ | screenshot_img: | ||
+ | depends | ||
+ | conflicts | ||
+ | similar | ||
+ | tags : configuration, | ||
+ | ---- | ||
+ | |||
+ | ===== Description ===== | ||
+ | |||
+ | {{ : | ||
+ | The Config Manager allows wiki [[config: | ||
+ | |||
+ | ===== Usage ===== | ||
+ | |||
+ | The Config Manager is accessible from the admin screen (Login as superuser, click " | ||
+ | |||
+ | Settings are shown with different backgrounds to highlight their current status. | ||
+ | * A blue background is used to show default values ('' | ||
+ | * A white background indicates local changes ('' | ||
+ | * A light red background shows protected settings ('' | ||
+ | |||
+ | Modify settings to your needs and save it by using the '' | ||
+ | |||
+ | ==== How is your config saved ==== | ||
+ | |||
+ | On saving changed settings this plugin will copy the current local settings file ('' | ||
+ | |||
+ | The plugin adds the following lines to the top of '' | ||
+ | |||
+ | <file php conf/ | ||
+ | /* | ||
+ | * DokuWiki' | ||
+ | * Auto-generated by config plugin | ||
+ | * Run for user: < | ||
+ | * Date: <current date/time, rfc 2822 format (day, dd MMM YYYY hh:mm:ss TZ)> | ||
+ | */ | ||
+ | </ | ||
+ | |||
+ | ==== Protecting Settings ==== | ||
+ | |||
+ | You can protect certain settings by placing them in '' | ||
+ | |||
+ | By default DokuWiki loads its configuration files in the following order: | ||
+ | |||
+ | - '' | ||
+ | - '' | ||
+ | - '' | ||
+ | |||
+ | This way, it is ensured that any values previously set from '' | ||
+ | |||
+ | The loading order of configuration files is controlled by the global '' | ||
+ | |||
+ | === Example === | ||
+ | |||
+ | <code php conf/ | ||
+ | <?php | ||
+ | /** | ||
+ | * Protected settings | ||
+ | * Do override DokuWiki default settings and local settings from Config Manager | ||
+ | */ | ||
+ | $conf[' | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== File Permissions ==== | ||
+ | |||
+ | To be able to save the configuration data, the file permissions of '' | ||
+ | |||
+ | When the plugin detects that the config file can not be written, it will show a message box at the top of the page that says | ||
+ | |||
+ | > "The settings file can not be updated, if this is unintentional, | ||
+ | |||
+ | When this happens, the save button won't be shown. | ||
+ | |||
+ | ==== Triangle, Exclamation and Padlock Mark ==== | ||
+ | |||
+ | Some fields in the configuration page show: | ||
+ | * A yellow warning sign ({{: | ||
+ | * An exclamation mark in a red circle ({{: | ||
+ | * The drawing of a padlock ({{: | ||
+ | |||
+ | These are the meanings of these three symbols: | ||
+ | {{: | ||
+ | {{: | ||
+ | {{: | ||
+ | |||
+ | Please, keep attention when you change these fields. |
plugin/config.1512084505.txt.gz · Last modified: 2017-12-01 00:28 by 2600:1700:f21:5320:b163:44ef:a3fc:f26c