This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
dokuwiki:server [2022/10/09 19:18] – [Customization] Bernard Condrau | dokuwiki:server [2024/06/10 17:39] – [Customization] Bernard Condrau | ||
---|---|---|---|
Line 37: | Line 37: | ||
* Add " | * Add " | ||
==== 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. |
- | - Install my {{ : | + | === Concept === |
- | - Copy ' | + | * The dispatcher calls files '' |
+ | * Language detection and fallback added to '' | ||
+ | * Language detection and fallback added to '' | ||
+ | |||
+ | === Core hacks === | ||
+ | - Install my {{ : | ||
- Add the following lines in '' | - Add the following lines in '' | ||
- | $langcode = bethico_language();</ | + | $langcode = bethico_language(); |
+ | bethico_init_toc();</ | ||
- ...and replace at the end line '' | - ...and replace at the end line '' | ||
bethico_dispatch(basename(__FILE__));</ | bethico_dispatch(basename(__FILE__));</ | ||
- | - Modify '/ | ||
- | * 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 ==== | + | === Fix toc handling in core === |
- | ^ File ^ DokuWiki File ^ Todo ^ | + | - Modify ''/ |
- | | help.php | doku.php | line 12: $updateVersion and verify content | + | |
- | | inc/template.php | inc/template.php | line 131-133: call to //help_toc// in function | + | === Fix toc handling in plugin: |
- | | lib/ | + | |
+ | === Install === | ||
+ | - Copies of the modified files for " | ||
+ | - After a DokuWiki upgrade check and change if necessary | ||
+ | - Check ''/ | ||
+ | - Check ''/ | ||
+ | - Check '' | ||
+ | - Optional: replace favicon and logo in '/lib/tpl/ | ||
+ | - Add the following line in ''/ | ||
+ | |||
+ | |||
===== 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 75: | Line 85: | ||
| {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 93: | Line 106: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
===== PHP 8.1 issues ===== | ===== PHP 8.1 issues ===== | ||
==== Plugin condition ==== | ==== Plugin condition ==== | ||
Line 100: | Line 113: | ||
==== 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</ | ||