DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin: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:note [2016-02-18 10:19] – [Renders as plain text using monobook template] 84.207.227.54plugin:note [2023-06-21 17:05] – [Had to end the line] 147.161.233.102
Line 3: Line 3:
 ---- plugin ---- ---- plugin ----
 description: This plugin allows you to create nice “notes” like this in your DokuWiki pages description: This plugin allows you to create nice “notes” like this in your DokuWiki pages
-author     : Olivier Cortes et. al. + Aurélien Bompard+author     : Olivier Cortes et. al. + Aurélien Bompard, LarsDW223
 email      : aurelien@bompard.org email      : aurelien@bompard.org
 type       : syntax type       : syntax
-lastupdate : 2009-06-15 +lastupdate : 2020-06-28 
-compatible : 2009-02-14, Lemming, Anteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus+compatible : 2016-06-26, 2009-02-14, Lemming, Anteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus, 2016-06-26 "Elenor Of Tsort", 2017-02-19 "Frusterick Manners", Greebo, Hogfather, Igor, Jack Jackrum
 depends    :  depends    : 
 conflicts  conflicts 
-similar    : bootswrapper, box, wrap+similar    : bootswrapper, box, wrap, admnote
 tags       : boxes, icons, toolbar tags       : boxes, icons, toolbar
  
-downloadurl: http://gauret.free.fr/fichiers/dokuwiki/dokuwiki-note-20090615.tgz+downloadurl: https://github.com/LarsGit223/dokuwiki_note/zipball/master 
 +bugtracker : https://github.com/LarsGit223/dokuwiki_note/issues 
 +sourcerepo : https://github.com/LarsGit223/dokuwiki_note
 ---- ----
  
Line 66: Line 68:
  
 **General instructions** **General instructions**
-  - Download [[http://gauret.free.fr/fichiers/dokuwiki/dokuwiki-note-20090615.tgz|the latest version]] or [[http://gauret.free.fr/fichiers/dokuwiki/dokuwiki-note-20080217.tgz|the original version]] (Mirror: The tar.gz package of the original release can be found at [[http://www.mediafire.com/evildev]].)+  - Download [[https://github.com/LarsGit223/dokuwiki_note/archive/2019-04-18.zip|the latest version]] or [[http://gauret.free.fr/fichiers/dokuwiki/dokuwiki-note-20080217.tgz|the original version]] (Mirror: The tar.gz package of the original release can be found at [[http://www.mediafire.com/evildev]].)
   - Installing the plugin   - Installing the plugin
-    * You can either extract the archive into the ''lib/plugins'' directory **and** update the timestamp on the extracted files. (probably because of ssme Dokuwiki caching feature)  +    * Go via the Admin page to the [[plugin:extension|Extension Manager]] and search and install this plugin. Or enter the URL for the plugin under ''Manual Install''
-    * load the admin page and go to Manage Plugins and enter the URL for the plugin under ''Download and install a new plugin''+    * Or you can either extract the archive into the ''lib/plugins'' directory **and** update the timestamp on the extracted files. (probably because of ssme Dokuwiki caching feature) 
  
 **Notes** **Notes**
-  * It is also **reported to work with plug-in manager** (thanks to [[http://live.naplesplus.us|Kenneth Udut]], [[david.mcneill@ge.com|DGM2]]). 
-    * However, in Ricewind I can't use plugin manager again. 
-  * The plugin is self contained and should work "out of the box" (without any CSS alteration, thanks to [[alien@slackware.com|Eric Hameleers]]). 
-  * <del>If after using the <note> </note> tag, it doesn't work: Open note/syntax.php and change lines 113 and 121.</del> (fixed in 2008-02-17 version) 
   * With the 'usable' template there is excessive spacing above the note, I was able to remedy this problem by commenting out 'clear: both;' in 'style.css'. Your mileage may vary.   * With the 'usable' template there is excessive spacing above the note, I was able to remedy this problem by commenting out 'clear: both;' in 'style.css'. Your mileage may vary.
   * With the [[doku>template:dokucms|'DokuCMS']] template and with the 'clear: both;' in 'style.css', notes are "pushed down" by the TOC box instead of overlapping with it [frank]   * With the [[doku>template:dokucms|'DokuCMS']] template and with the 'clear: both;' in 'style.css', notes are "pushed down" by the TOC box instead of overlapping with it [frank]
Line 423: Line 420:
 ===== Bug reports ===== ===== Bug reports =====
  
 +==== Compatibility with Dokuwiki syntax ====
 +**Note Plugin** __//Release: 2009-06-15//__
 +
 +dokuwiki/lib/plugins/note/syntax.php line 79 and line 102, respectively, should be changed/updated as follows:
 +
 +''PHP Warning:  Declaration of syntax_plugin_note::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler)''
 +
 + ''PHP Warning:  Declaration of syntax_plugin_note::render($mode, &$renderer, $indata) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data)
 +''
 +
 +2016-06-13 12:36
 ==== Broken in May 2008 release ==== ==== Broken in May 2008 release ====
  
Line 527: Line 535:
 [[mhijkman@afsgroup.nl|Marcel Huijkman]] - 2016/02/18 [[mhijkman@afsgroup.nl|Marcel Huijkman]] - 2016/02/18
 Warning: Declaration of syntax_plugin_note::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in C:\Data\www\dokuwiki\lib\plugins\note\syntax.php on line 0 Warning: Declaration of syntax_plugin_note::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in C:\Data\www\dokuwiki\lib\plugins\note\syntax.php on line 0
 +
 +PHP7.0 signature errors for **handle()** and **render()**should be fixed now.
 + --- //LarsDW223 2016/09/14 21:38//
 +==== Had to rename folder ====
 +After downloading the tar.gz file and uploading via admin page, it created a folder in plugins called dokuwikinote20090615/ DokuWiki could not pick up the plugin until I renamed the folder to simply note/
 +
 +==== Had to end the line ====
 +Guys, how to make end of line marker into note? <br> didn't work, for example
 +
 +> Use an empty line. This works for me in greebo. --- [[user>KaiMartin|KaiMartin]] //2019-11-20 01:10// 
 +
 +==== Warning: Undefined array key 1 in \wiki\lib\plugins\note\syntax.php on line 103 ====
 +
 +Error message after upgrading to DokuWiki version: Release 2023-04-04a "Jack Jackrum" (under PHP 8.2.7).
 +
 +  Warning: Undefined array key 1 in \wiki\lib\plugins\note\syntax.php on line 103
 +
 +The plugin has been updated with latest version and worked perfectly with PHP 7.2
 +
plugin/note.txt · Last modified: 2024-04-15 12:14 by 2a01:cb15:8181:e000:992e:45b4:4097:76b4

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