DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:rack

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
plugin:rack [2021-04-21 16:07] landrypmplugin:rack [2023-10-30 23:20] (current) Klap-in
Line 6: Line 6:
 email      : Tyler.Bletsch@netapp.com email      : Tyler.Bletsch@netapp.com
 type       : syntax type       : syntax
-lastupdate : 2010-01-18 +lastupdate : 2012-08-16 
-compatible : 2009-02-14, !Hogfather+compatible : 2009-02-14, !Hogfather, !Igor, !Jack Jackrum
 depends    :  depends    : 
 conflicts  conflicts 
Line 48: Line 48:
  
 ===== Submit changes ===== ===== Submit changes =====
 +
 If you add something useful to the plugin, [[Tyler.Bletsch@netapp.com|email me]] and post a patch or [[http://pastebin.com/|pastebin]] or something below and I'll see about folding it into the plugin. If you add something useful to the plugin, [[Tyler.Bletsch@netapp.com|email me]] and post a patch or [[http://pastebin.com/|pastebin]] or something below and I'll see about folding it into the plugin.
  
-//Put your comments/fixes here//+Currently not working with the latest stable plugin API :-(
  
 ==== Proposed changes ==== ==== Proposed changes ====
Line 138: Line 139:
 </code> </code>
  
-{{http://dsss.be/i/img/rackwiki.png|Because dokuwiki.org doesn't have my plugin installed, this is just an image, not the real thing}}+{{http://dsss.be/i/img/rackwiki.png?recache|Because dokuwiki.org doesn't have my plugin installed, this is just an image, not the real thing}}
  
 If you want to add new auto-coloring options, edit ''syntax.php'' and add conditionals to the ''autoselect_color'' function. If you want to add new auto-coloring options, edit ''syntax.php'' and add conditionals to the ''autoselect_color'' function.
Line 151: Line 152:
 ===== BUG! Broken upgrade ===== ===== BUG! Broken upgrade =====
  
-If i click on "upgrade" button in plugin manager, this will get reinstalled, but stays listed as "upgradeable"Dokuwiki still thinks that there is upgrade available even when it's the same old version.+If i click on "upgrade" button in plugin manager, this will get reinstalled, but stays listed as "upgradeable"DokuWiki still thinks that there is upgrade available even when it's the same old version. 
 + 
 +==== FIX: ==== 
 + 
 +You can provide a plugin.info.txt under the plugin folder (./lib/plugins/rack/
 +<code txt plugin.info.txt> 
 +base   rack 
 +author Tyler Bletsch 
 +date   2012-08-16 
 +name   rack 
 +desc   Displays an elevation of a datacenter rack 
 +url    https://www.dokuwiki.org/plugin:rack 
 +</code> 
 + 
 +===== Managed to make it work under Release 2022-07-31a "Igor" ===== 
 + 
 +Replace line 97 with this: 
 + 
 + 97     function handle($match, $state, $pos, Doku_Handler $handler){ 
 + 
 +and replace line 145 with this: 
 + 
 +145     function render($mode, Doku_Renderer $renderer, $opt) { 
 + 
plugin/rack.1619014054.txt.gz · Last modified: 2021-04-21 16:07 by landrypm

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