My Projects

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:dokuwiki_mods [2018/04/06 02:08] – [CSS dropshadow code] tonywiki:dokuwiki_mods [2026/09/27 00:13] (current) – tony
Line 1: Line 1:
 \\ \\
 \\ \\
-<html><center><b><font size="5">Customizations to dokuwiki for this site</font></b></center></html>+<html><p style="text-align:center"><b><font size="5">Customizations to dokuwiki for this site</font></b></p></html>
 \\ \\
 \\ \\
Line 82: Line 82:
  
   div.shadows {   div.shadows {
-    width: 80%;+    padding-top: 10px; 
 +    width: 90%;
     background-color: white;     background-color: white;
     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 97: Line 98:
 <code> <code>
 <HTML> <HTML>
-<center><div class="shadows"> +<div class="shadows" style="text-align:center; margin-left: auto;  margin-right: auto; ">
-  <center>+
 </HTML> </HTML>
 {{wiki:NAMESPACE:IMAGE.JPG?WIDTH|ALT-DESCRIPTION}} (can have multiple images here) {{wiki:NAMESPACE:IMAGE.JPG?WIDTH|ALT-DESCRIPTION}} (can have multiple images here)
 <HTML> <HTML>
-  </center> 
   <div class="container">   <div class="container">
-    <p>LONG-CAPTION-TO-DISPLAY-BELOW-IMAGE(S)</p>+    LONG-CAPTION-TO-DISPLAY-BELOW-IMAGE(S)
   </div>   </div>
-</div></center>+</div>
 </HTML> </HTML>
 </code> </code>
Line 114: Line 113:
 <code> <code>
 <HTML> <HTML>
-<center><div class="shadows"> +<div class="shadows" style="text-align:center; margin-left: auto;  margin-right: auto; "> 
-  <center> +  <a href="/dokuwiki/_detail/PATH-TO-IMAGE.jpg" class="media"><img width="45%" src="/dokuwiki/_media/PATH-TO-IMAGE.jpg" class="media" title="IMAGE-TITLE" alt="IMAGE-TITLE" /></a>
-    <a href="/dokuwiki/_detail/PATH-TO-IMAGE.jpg" class="media"><img src="/dokuwiki/_media/PATH-TO-IMAGE.jpg" width="45%" class="media" title="IMAGE-TITLE" alt="IMAGE-TITLE" /></a> +
-  </center>+
   <div class="container">   <div class="container">
-    <p>LONG-CAPTION-TO-DISPLAY-BELOW-IMAGE(S)</p>+    LONG-CAPTION-TO-DISPLAY-BELOW-IMAGE(S)
   </div>   </div>
-</div></center>+</div>
 </HTML> </HTML>
 </code> </code>
Line 127: Line 124:
 see https://www.dokuwiki.org/devel:css see https://www.dokuwiki.org/devel:css
  
-===== 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 the Old Revisions button can be disabled in the disableactions config option.+To also remove the list from DokuWiki, edit the metafile ./data/meta/<namespace>.changes
  
-==== Storage ====+===== Installation customizations =====
  
-Revisions are stored within the attic directory, within the configured savedir.+Installed the Debian distribution default dokuwiki package 
 +Downloaded dokuwiki-2012-10-13.tgz ("Adora Belle"), unpacked manually copied across files to debian structure. 
 +logged in and opened the configure page and checked all working ok. 
 +Downloaded dokuwiki-2013-05-10.tgz ("Weatherwax"), unpacked manually copied across files to debian structure. 
 +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 as per: 
 +<code> 
 +bin -> /usr/share/dokuwiki/bin 
 +conf -> /etc/dokuwiki (excluding acronyms.conf as don't want all those abbreviations highlighted) 
 +data -> /var/lib/dokuwiki/data 
 +inc -> /usr/share/dokuwiki/inc 
 +lib/plugins -> /var/lib/dokuwiki/lib/plugins 
 +lib/tpl -> /var/lib/dokuwiki/lib/tpl 
 +lib/exe, images, scripts, styles, index.html -> /usr/share/dokuwiki/lib 
 +* -> /usr/share/dokuwiki/ 
 +</code>
  
-The default system path is <dokuwiki>/data/attic/<namespace>/<attic file>.+Downloaded and unpacked zenlike template into /var/lib/dokuwiki/lib/tpl/zenlike. 
 +Edited colour of : 
 +zenlike/images/buttonbg.gif 
 +zenlike/images/db1.gif 
 +zenlike/images/db2.gif 
 +zenlike/images/menubg.gif
  
-==== Removing old documents ====+Replaced : 
 +zenlike/images/hdrpic.jpg
  
-To remove any of the contents of the attic you can manually remove the corresponding files and sub-directories from the system.+Edited : 
 +zenlike/css/zenlike.css 
 +zenlike/lang/en/lang.php and  changed  
 +<code> 
 +  ⇐ $lang['discussion']        = 'Discussion'; 
 +  ⇒ $lang['discussion']        = 'Feedback'; 
 +</code> 
 +zenlike/style.ini
  
-To also remove the list from DokuWiki, edit the metafile ./data/meta/<namespace>.changes+===== Changes to fix footer overlapping sidebar when sidebar extends beyond bottom of normal content ===== 
 +Edited: 
 +zenlike/css/zenlike.css
  
 +  <     background: #000000 url('images/bg1.jpg');
 +  >     background: #000000 url('images/paper.gif');
 +
 +  <     width: 82%;
 +  >     width: 95%;
 +
 +  <     background: #000 url('images/bg1.jpg') !important;
 +  >     background: #000 url('images/paper.gif') !important;
 +
 +  <     width: 82%;
 +  >     width: 95%;
 +
 +Added two more lines into footer style:
 +   #dokuwiki__footer {
 +      position: relative;
 +  + width: 70%;
 +  + left: 21em;
 +      height: 2.0em;
 +      clear: both;
 +      padding-top: 5.0em;
 +      padding-bottom: 2em;
 +      background: #fff url('images/border2.gif') repeat-x 0 2.5em;
 +      font-size: 0.8em;
 +   }
  
-\\ 
 \\ \\
 ---- ----
 +<HTML><div style="width: 50%; margin-left: auto;  margin-right: auto; ">&nbsp;</HTML>[[:start|Home Page]]<html>&nbsp;&nbsp;&nbsp;</html>[[:about|About this Site]]<html>&nbsp;&nbsp;&nbsp;</html>[[:copyright|Copyright Questions]]<html>&nbsp;&nbsp;&nbsp;</html>[[:contact|Contact Us]]<html></div></html>\\
 \\ \\
-<html>&nbsp;&nbsp;&nbsp;</html>[[:start|Home Page]]<html>&nbsp;&nbsp;&nbsp;</html>[[:about|About this Site]]<html>&nbsp;&nbsp;&nbsp;</html>[[:copyright|Copyright Questions]]<html>&nbsp;&nbsp;&nbsp;</html>[[:contact|Contact Us]]