This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| wiki:dokuwiki_mods [2023/04/07 21:24] – [CSS dropshadow code] tony | wiki:dokuwiki_mods [2026/09/27 00:13] (current) – tony | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | \\ | ||
| + | \\ | ||
| + | < | ||
| + | \\ | ||
| + | \\ | ||
| + | |||
| + | ===== Allow Upper/ | ||
| + | Needed to allow upper/ | ||
| + | Commented out one line in the / | ||
| + | $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. | ||
| + | |||
| + | ===== Allow upload of specific text file filetypes ===== | ||
| + | Edited / | ||
| + | < | ||
| + | cpp text/plain | ||
| + | h text/plain | ||
| + | </ | ||
| + | |||
| + | ===== Allow images with uppercase filename extension ===== | ||
| + | Edited / | ||
| + | < | ||
| + | JPG image/jpeg | ||
| + | </ | ||
| + | |||
| + | (doesn' | ||
| + | |||
| + | ===== Add symbol for degrees ===== | ||
| + | Edited / | ||
| + | < | ||
| + | (deg) ° | ||
| + | </ | ||
| + | |||
| + | ===== Background wallpaper ===== | ||
| + | Copied wallpaper background image to:\\ | ||
| + | / | ||
| + | |||
| + | Inserted ito / | ||
| + | < | ||
| + | body {background-image: | ||
| + | </ | ||
| + | |||
| + | see https:// | ||
| + | |||
| + | ===== Embedded HTML ===== | ||
| + | Edited / | ||
| + | < | ||
| + | $conf[' | ||
| + | </ | ||
| + | |||
| + | To insert HTML code in wiki pages surround blocks of code with: | ||
| + | < | ||
| + | < | ||
| + | (your code) | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | or inline | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | see https:// | ||
| + | |||
| + | ===== Nice URLs ===== | ||
| + | Edited / | ||
| + | < | ||
| + | $conf[' | ||
| + | $conf[' | ||
| + | </ | ||
| + | |||
| + | ===== CSS dropshadow code ===== | ||
| + | Inserted into / | ||
| + | |||
| + | < | ||
| + | body {margin: | ||
| + | |||
| + | div.shadows { | ||
| + | padding-top: | ||
| + | width: 90%; | ||
| + | background-color: | ||
| + | box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); | ||
| + | margin-bottom: | ||
| + | } | ||
| + | |||
| + | div.container { | ||
| + | text-align: center; | ||
| + | padding: 10px 5px; | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | Invoke this with: | ||
| + | < | ||
| + | < | ||
| + | <div class=" | ||
| + | </ | ||
| + | {{wiki: | ||
| + | < | ||
| + | <div class=" | ||
| + | LONG-CAPTION-TO-DISPLAY-BELOW-IMAGE(S) | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | or | ||
| + | |||
| + | < | ||
| + | < | ||
| + | <div class=" | ||
| + | <a href="/ | ||
| + | <div class=" | ||
| + | LONG-CAPTION-TO-DISPLAY-BELOW-IMAGE(S) | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | see https:// | ||
| + | |||
| + | |||
| + | ===== Old Revisions : Removing old documents ==== | ||
| + | |||
| + | To remove any of the contents of the attic you can manually remove the corresponding files and sub-directories from the system. | ||
| + | |||
| + | To also remove the list from DokuWiki, edit the metafile ./ | ||
| + | |||
| + | ===== Installation customizations ===== | ||
| + | |||
| + | Installed the Debian distribution default dokuwiki package | ||
| + | Downloaded dokuwiki-2012-10-13.tgz (" | ||
| + | logged in and opened the configure page and checked all working ok. | ||
| + | Downloaded dokuwiki-2013-05-10.tgz (" | ||
| + | logged in and opened the configure page and checked all working ok. | ||
| + | |||
| + | Files were manually copied as per: | ||
| + | < | ||
| + | bin -> / | ||
| + | conf -> / | ||
| + | data -> / | ||
| + | inc -> / | ||
| + | lib/plugins -> / | ||
| + | lib/tpl -> / | ||
| + | lib/exe, images, scripts, styles, index.html -> / | ||
| + | * -> / | ||
| + | </ | ||
| + | |||
| + | Downloaded and unpacked zenlike template into / | ||
| + | Edited colour of : | ||
| + | zenlike/ | ||
| + | zenlike/ | ||
| + | zenlike/ | ||
| + | zenlike/ | ||
| + | |||
| + | Replaced : | ||
| + | zenlike/ | ||
| + | |||
| + | Edited : | ||
| + | zenlike/ | ||
| + | zenlike/ | ||
| + | < | ||
| + | ⇐ $lang[' | ||
| + | ⇒ $lang[' | ||
| + | </ | ||
| + | zenlike/ | ||
| + | |||
| + | ===== Changes to fix footer overlapping sidebar when sidebar extends beyond bottom of normal content ===== | ||
| + | Edited: | ||
| + | zenlike/ | ||
| + | |||
| + | < | ||
| + | > | ||
| + | |||
| + | < | ||
| + | > | ||
| + | |||
| + | < | ||
| + | > | ||
| + | |||
| + | < | ||
| + | > | ||
| + | |||
| + | 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; | ||
| + | } | ||
| + | |||
| + | \\ | ||
| + | ---- | ||
| + | < | ||
| + | \\ | ||