DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:side_note

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
Next revisionBoth sides next revision
plugin:side_note [2009-01-02 21:23] 70.103.232.219plugin:side_note [2011-05-09 23:08] Aleksandr
Line 1: Line 1:
- 
  
 ====== Definition Side Note ====== ====== Definition Side Note ======
Line 12: Line 11:
 depends    : depends    :
 conflicts  : conflicts  :
-similar    : note +similar    : note, imagebox, imagereference 
-tags       : notes, remarks, sidebar, caption, experimental+tags       : boxes, caption, !experimental
 ---- ----
  
Line 40: Line 39:
 To make it work you will need also to add some rules into your template's CSS file [for the default template this file would be ''/lib/tpl/default/design.css'']. You may modify the style of the side note to fit your needs. To make it work you will need also to add some rules into your template's CSS file [for the default template this file would be ''/lib/tpl/default/design.css'']. You may modify the style of the side note to fit your needs.
  
-<code css>+<code css style.css>
   .sideboth, .sideleft, .sideright {   .sideboth, .sideleft, .sideright {
     border: 1px solid;     border: 1px solid;
Line 62: Line 61:
 Put the following PHP file in ''/lib/plugins/sidenote/syntax.php''. Put the following PHP file in ''/lib/plugins/sidenote/syntax.php''.
  
-<code php>+<code php syntax.php>
 <?php <?php
 /** /**
Line 246: Line 245:
 > I just got an email asking for my changes to this plugin and I figured that if I was going to create a patch I may as well post it here. Feel free to download my [[http://alphacomplex.org/~adam/oss/dokuwiki/plugins/sidenote/sidenote.diff|sidenote.diff]], it's GPL2 of course. To apply the diff cd to the sidenote plugin directory (dokuwiki/lib/plugins/sidenote/) and run <code bash>patch -p1 < /path/to/sidenote.diff</code> > I just got an email asking for my changes to this plugin and I figured that if I was going to create a patch I may as well post it here. Feel free to download my [[http://alphacomplex.org/~adam/oss/dokuwiki/plugins/sidenote/sidenote.diff|sidenote.diff]], it's GPL2 of course. To apply the diff cd to the sidenote plugin directory (dokuwiki/lib/plugins/sidenote/) and run <code bash>patch -p1 < /path/to/sidenote.diff</code>
 > --- // [[adam@alphacomplex.org|adam]] 2006-12-15 09:22 // > --- // [[adam@alphacomplex.org|adam]] 2006-12-15 09:22 //
 +
 +> This plugin has helped me out significantly, brilliant work!
 +> --- // [[sam@samuelmiller.biz|sam]] 2010-12-31 13:03 //
plugin/side_note.txt · Last modified: 2013-03-06 15:42 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki