This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dokuwiki:server [2022/10/09 19:09] – [Customization] Bernard Condrau | dokuwiki:server [2024/04/25 18:56] (current) – Bernard Condrau | ||
---|---|---|---|
Line 38: | Line 38: | ||
==== Customization ==== | ==== Customization ==== | ||
There are a few core hacks required to make my template work properly, both for a regular wiki as well as for a help server. <span orange> | There are a few core hacks required to make my template work properly, both for a regular wiki as well as for a help server. <span orange> | ||
- | | + | |
- | | + | |
- | * Add the following lines in '' | + | $langcode = bethico_language();</ |
- | $langcode = bethico_language();</ | + | - ...and replace |
bethico_dispatch(basename(__FILE__));</ | bethico_dispatch(basename(__FILE__));</ | ||
+ | - Copy '' | ||
+ | - Modify ''/ | ||
+ | - Copies of the modified files for " | ||
+ | - After a DokuWiki upgrade check and change if necessary | ||
+ | - Check ''/ | ||
+ | - Check ''/ | ||
+ | - Check ''/ | ||
+ | - Optional: replace favicon and logo in '/ | ||
- | * '' | ||
- | require_once(template(' | ||
- | $langcode = help_language();</ | ||
- | * Modify ' | ||
- | act_dispatch();</ | ||
- | init_lang($langcode); | ||
- | help_dispatch();</ | ||
- | * Modify '/ | ||
- | require_once(template(' | ||
- | help_toc($toc); | ||
- | </ | ||
- | * After a DokuWiki upgrade make sure that | ||
- | * If '/ | ||
- | * If '/ | ||
- | * If '/ | ||
- | * If you use a template other than ' | ||
- | * Optional: replace favicon and logo in '/ | ||
- | ==== The following files must be checked against the previous version after upgrading ==== | ||
- | ^ File ^ DokuWiki File ^ Todo ^ | ||
- | | help.php | doku.php | line 12: $updateVersion and verify content (compare doku.php to previous version) | | ||
- | | inc/ | ||
- | | lib/ | ||
===== Joomla Access ===== | ===== Joomla Access ===== | ||
* Set the Help URL in the component configuration of com_bethico to< | * Set the Help URL in the component configuration of com_bethico to< | ||
Line 85: | Line 71: | ||
| {minor} | Joomla minor version number || | | {minor} | Joomla minor version number || | ||
| {maintenance} | Joomla maintenance version number || | | {maintenance} | Joomla maintenance version number || | ||
+ | |||
+ | ===== Backup with zip ===== | ||
+ | * use the following command to backup an entire wiki with zip< | ||
===== Upgrade to Version 2020-07-29 " | ===== Upgrade to Version 2020-07-29 " | ||
Line 103: | Line 92: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
===== PHP 8.1 issues ===== | ===== PHP 8.1 issues ===== | ||
==== Plugin condition ==== | ==== Plugin condition ==== | ||
Line 110: | Line 99: | ||
==== Plugin html5video ==== | ==== Plugin html5video ==== | ||
* Put brackets enclosing the expressions on line 190 and 191 of '' | * Put brackets enclosing the expressions on line 190 and 191 of '' | ||
+ | |||
+ | ===== davcal ===== | ||
+ | ==== Check when a date entry was made ==== | ||
+ | - Copy ''/ | ||
+ | - Open '' | ||
+ | SELECT calendardata FROM calendarobjects WHERE datetime(lastoccurence, | ||
+ | .quit</ | ||