synology:dokuwiki
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| synology:dokuwiki [2023/02/21 22:58] – [Theme Adjustment] Wulf Rajek | synology:dokuwiki [2024/04/09 23:35] (current) – [Allow additional file types] Wulf Rajek | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== DokuWiki | + | ====== DokuWiki |
| Admin, extensions: | Admin, extensions: | ||
| Line 255: | Line 255: | ||
| </ | </ | ||
| insert after line 23 relating to favicon: | insert after line 23 relating to favicon: | ||
| - | < | + | < |
| <?php | <?php | ||
| $look = array(': | $look = array(': | ||
| Line 264: | Line 264: | ||
| ===== Allow additional file types ===== | ===== Allow additional file types ===== | ||
| - | Log into synology via ssh or access the dokuwiki folder.\\ | ||
| < | < | ||
| - | cd / | + | cd dokuwiki/ |
| - | sudo cp mime.conf mime.local.conf | + | cp mime.conf mime.local.conf |
| - | sudo vi mime.local.conf | + | vi mime.local.conf |
| #delete all but the text files towards the end of the file and enable them | #delete all but the text files towards the end of the file and enable them | ||
| #add json text/json | #add json text/json | ||
| Line 285: | Line 284: | ||
| Adjustment hack to show parent namespace: | Adjustment hack to show parent namespace: | ||
| - | dokuwiki/ | + | dokuwiki/ |
| - | < | + | < |
| - | / produce output | + | // produce output |
| - | $parentnamespace = getNS($id); | + | $parentnamespace = getNS($id); |
| if(useHeading(' | if(useHeading(' | ||
| // get page title | // get page title | ||
| Line 299: | Line 298: | ||
| $parentnamespace.=' | $parentnamespace.=' | ||
| } | } | ||
| - | $content | + | $section |
| - | | + | $content = '<a href="' |
| + | if ($this-> | ||
| + | $content = '< | ||
| + | } | ||
| + | return $this-> | ||
| + | } | ||
| </ | </ | ||
synology/dokuwiki.1677020305.txt.gz · Last modified: (external edit)