This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wiki:dokuwiki_mods [2018/04/05 05:30] – tony | wiki:dokuwiki_mods [2026/09/27 00:13] (current) – tony | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| \\ | \\ | ||
| \\ | \\ | ||
| - | < | + | < |
| \\ | \\ | ||
| \\ | \\ | ||
| - | ===== Upper/ | + | ===== Allow Upper/ |
| Needed to allow upper/ | Needed to allow upper/ | ||
| Commented out one line in the / | Commented out one line in the / | ||
| $id = utf8_strtolower($id); | $id = utf8_strtolower($id); | ||
| + | |||
| + | Also similar line in / | ||
| + | commented out strtolower() function calls. | ||
| + | |||
| But may have side effects with filename matching when other bits of code assume lowercase. | But may have side effects with filename matching when other bits of code assume lowercase. | ||
| ===== Allow upload of specific text file filetypes ===== | ===== Allow upload of specific text file filetypes ===== | ||
| - | Edited / | + | Edited / |
| < | < | ||
| cpp text/plain | cpp text/plain | ||
| h text/plain | h text/plain | ||
| </ | </ | ||
| - | |||
| - | (tried creating mime.local.conf, | ||
| ===== Allow images with uppercase filename extension ===== | ===== Allow images with uppercase filename extension ===== | ||
| - | Edited / | + | Edited / |
| < | < | ||
| JPG image/jpeg | JPG image/jpeg | ||
| Line 65: | Line 67: | ||
| see https:// | see https:// | ||
| + | |||
| + | ===== Nice URLs ===== | ||
| + | Edited / | ||
| + | < | ||
| + | $conf[' | ||
| + | $conf[' | ||
| + | </ | ||
| ===== CSS dropshadow code ===== | ===== CSS dropshadow code ===== | ||
| - | Inserted | + | Inserted |
| < | < | ||
| Line 73: | Line 82: | ||
| div.shadows { | div.shadows { | ||
| - | width: | + | |
| + | | ||
| background-color: | background-color: | ||
| box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); | box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); | ||
| Line 88: | Line 98: | ||
| < | < | ||
| < | < | ||
| - | < | + | <div class=" |
| - | <center> | + | |
| </ | </ | ||
| {{wiki: | {{wiki: | ||
| < | < | ||
| - | </ | ||
| <div class=" | <div class=" | ||
| - | | + | LONG-CAPTION-TO-DISPLAY-BELOW-IMAGE(S) |
| </ | </ | ||
| - | </ | + | </ |
| + | </HTML> | ||
| + | </ | ||
| + | |||
| + | or | ||
| + | |||
| + | < | ||
| + | < | ||
| + | <div class=" | ||
| + | <a href="/ | ||
| + | <div class=" | ||
| + | LONG-CAPTION-TO-DISPLAY-BELOW-IMAGE(S) | ||
| + | </ | ||
| + | </div> | ||
| </ | </ | ||
| </ | </ | ||
| Line 103: | Line 124: | ||
| see https:// | see https:// | ||
| - | ===== Old Revisions ===== | ||
| - | When you edit a page, DokuWiki creates a revision with the old document. The old versions can be viewed by clicking the Old Revisions button. On the page shown, revisions can be compared with the diff tool. | ||
| + | ===== Old Revisions : Removing old documents ==== | ||
| - | ==== Configuration ==== | + | To remove any of the contents of the attic you can manually remove the corresponding files and sub-directories from the system. |
| - | Disabling button | + | |
| - | Displaying | + | To also remove |
| - | ==== Storage | + | ===== Installation customizations ===== |
| - | Revisions are stored within | + | Installed |
| + | Downloaded dokuwiki-2012-10-13.tgz (" | ||
| + | logged in and opened | ||
| + | Downloaded dokuwiki-2013-05-10.tgz (" | ||
| + | logged in and opened the configure page and checked all working ok. | ||
| - | The compression configuration option specifies if the pages will be saved as compressed files or not. | + | Files were manually copied |
| + | < | ||
| + | bin -> / | ||
| + | conf -> / | ||
| + | data -> / | ||
| + | inc -> / | ||
| + | lib/plugins -> / | ||
| + | lib/tpl -> / | ||
| + | lib/exe, images, scripts, styles, index.html -> / | ||
| + | * -> / | ||
| + | </ | ||
| - | The default system path is <dokuwiki>/data/attic/< | + | Downloaded and unpacked zenlike template into /var/lib/dokuwiki/lib/tpl/ |
| + | Edited colour of : | ||
| + | zenlike/ | ||
| + | zenlike/ | ||
| + | zenlike/ | ||
| + | zenlike/images/menubg.gif | ||
| - | ==== Removing old documents ==== | + | Replaced : |
| + | zenlike/ | ||
| - | To remove any of the contents of the attic you can manually remove the corresponding files and sub-directories from the system. | + | Edited : |
| + | zenlike/ | ||
| + | zenlike/ | ||
| + | < | ||
| + | ⇐ $lang[' | ||
| + | ⇒ $lang[' | ||
| + | </ | ||
| + | zenlike/ | ||
| - | To also remove the list from DokuWiki, edit the metafile ./data/meta/< | + | ===== Changes to fix footer overlapping sidebar when sidebar extends beyond bottom of normal content ===== |
| + | Edited: | ||
| + | zenlike/css/zenlike.css | ||
| + | < | ||
| + | > | ||
| + | |||
| + | < | ||
| + | > | ||
| + | |||
| + | < | ||
| + | > | ||
| + | |||
| + | < | ||
| + | > | ||
| + | |||
| + | Added two more lines into footer style: | ||
| + | # | ||
| + | position: relative; | ||
| + | + width: 70%; | ||
| + | + left: 21em; | ||
| + | height: 2.0em; | ||
| + | clear: both; | ||
| + | padding-top: | ||
| + | padding-bottom: | ||
| + | background: #fff url(' | ||
| + | font-size: 0.8em; | ||
| + | } | ||
| - | \\ | ||
| \\ | \\ | ||
| ---- | ---- | ||
| + | < | ||
| \\ | \\ | ||
| - | < | ||