This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dokuwiki:server [2023/01/20 13:53] – [Links] Bernard Condrau | dokuwiki:server [2024/06/11 09:37] (current) – [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 === |
+ | * 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__));</ | ||
- | - Copy '' | + | - Add a line to file '' |
- | - Modify ''/ | + | var hidden; |
- | - Copies of the modified files for "Igor" are in folder ''/ | + | --> if(!state && JSINFO.toc) state = JSINFO.toc.initial_state; |
+ | if(!state) state = 1;</ | ||
+ | |||
+ | === Fix toc handling in core === | ||
+ | - Modify ''/ | ||
+ | |||
+ | === Fix toc handling | ||
+ | - Make elements of items array unique at the end of function '' | ||
+ | |||
+ | === Install === | ||
+ | - Copies of the modified files for "Kaos" are in folder ''/ | ||
- After a DokuWiki upgrade check and change if necessary | - After a DokuWiki upgrade check and change if necessary | ||
- Check ''/ | - Check ''/ | ||
Line 51: | Line 68: | ||
- Check ''/ | - Check ''/ | ||
- Optional: replace favicon and logo in '/ | - Optional: replace favicon and logo in '/ | ||
+ | - Add the following line in ''/ | ||
+ | |||
Line 71: | Line 90: | ||
| {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 96: | Line 118: | ||
==== 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</ | ||