DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:uparrow

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
Last revisionBoth sides next revision
plugin:uparrow [2010-07-30 12:05] dishwasherplugin:uparrow [2019-01-06 13:03] – [Discussion] Cyrille37
Line 11: Line 11:
 conflicts  conflicts 
 similar    :  similar    : 
-tags       : navigation, links, section +tags       : !obsolete, !discontinued, navigation, links, section
-downloadurl: http://cloud.github.com/downloads/chimeric/dokuwiki-plugin-uparrow/plugin-uparrow.tgz +
-bugtracker : http://github.com/chimeric/dokuwiki-plugin-uparrow/issues +
-sourcerepo : http://github.com/chimeric/dokuwiki-plugin-uparrow/ +
-donationurl: https://www.paypal.com/xclick/business=chi%40chimeric.de&item_name=DokuWiki%2BPlugin%2BDonation&no_shipping=1&no_note=1&tax=0&currency_code=EUR&lc=US +
-----+
  
-^ Download | [[http://cloud.github.com/downloads/chimeric/dokuwiki-plugin-uparrow/plugin-uparrow.tgz|plugin-uparrow.tgz]] | +downloadurl: https://github.com/chimeric/dokuwiki-plugin-uparrow/archive/master.zip 
-^ Github URL | [[http://github.com/chimeric/dokuwiki-plugin-uparrow]] |+bugtracker : https://github.com/chimeric/dokuwiki-plugin-uparrow/issues 
 +sourcerepo : https://github.com/chimeric/dokuwiki-plugin-uparrow
  
-===== Donate ===== +screenshot_img  
-Support the ongoing development of DokuWiki Plugins and Templates and [[https://www.paypal.com/xclick/business=chi%40chimeric.de&item_name=DokuWiki%2BPlugin%2BDonation&no_shipping=1&no_note=1&tax=0&currency_code=EUR&lc=US|buy me a coffee]] ;-) (Suggested: 3€ for a regular or 5€ for big latte with caramel).+----
  
 ===== Installation ===== ===== Installation =====
-Download the tarball and unpack it into <dokuwiki>lib/plugins. The folder will contain: 
  
-  * [[http://cloud.github.com/downloads/chimeric/dokuwiki-plugin-uparrow/plugin-uparrow.tgz|.tgz]] Plugin Manager+Download the tarball and unpack it into <dokuwiki>lib/plugins.
  
 You can install the plugin via git. You can install the plugin via git.
Line 37: Line 32:
  
 ===== Configuration ===== ===== Configuration =====
-You can choose which image to use by putting it into <dokuwiki>lib/plugins/uparrow/images and changing the image name in the configuration manager. The plugin comes with 3 default images. You can also configure the plugin to automatically add an up link after each section (NOTE: this could take a while on really large pages, but it only happens when the instructions of a page are regenerated and cached again, normally after an edit occurs or you use &purge. If you activate this option you should invalidate the cache of the wiki to make the changes apply!). 
  
-image name ^ +You can choose which image to use by putting it into <dokuwiki>lib/plugins/uparrow/images and changing the image name in the configuration manager. The plugin comes with 3 default images. You can also configure the plugin to automatically add an up link after each section (NOTE: this could take a while on really large pages, but it only happens when the instructions of a page are regenerated and cached again, normally after an edit occurs or you use ''&purge''. If you activate this option you should invalidate the cache of the wiki to make the changes apply!). 
-|  {{http://chimeric.de/_dev/darcs/dokuwiki/plugins/uparrow/images/tango-big.png}}     | tango-big.png     | + 
-|  {{http://chimeric.de/_dev/darcs/dokuwiki/plugins/uparrow/images/tango-medium.png}}  | tango-medium.png +^ Image ^ Name 
-|  {{http://chimeric.de/_dev/darcs/dokuwiki/plugins/uparrow/images/tango-small.png}}   | tango-small.png   |+|  {{https://raw.githubusercontent.com/chimeric/dokuwiki-plugin-uparrow/master/images/tango-big.png?recache}}     | tango-big.png     | 
 +|  {{https://raw.githubusercontent.com/chimeric/dokuwiki-plugin-uparrow/master/images/tango-medium.png?recache}}  | tango-medium.png 
 +|  {{https://raw.githubusercontent.com/chimeric/dokuwiki-plugin-uparrow/master/images/tango-small.png?recache}}   | tango-small.png   |
  
 ===== Syntax ===== ===== Syntax =====
Line 49: Line 45:
  
 ===== Demo ===== ===== Demo =====
-You can see the plugin in action [[http://www.chimeric.de/_demo/plugin:uparrow|here]].+ 
 +You can see the plugin in action [[http://www.chimeric.de/_demo/plugin:uparrow|here]].FIXME
  
 ===== Changelog ===== ===== Changelog =====
-A complete changelog is available [[http://github.com/chimeric/dokuwiki-plugin-uparrow/commits/|here]] 
  
-{{rss>http://github.com/feeds/chimeric/commits/dokuwiki-plugin-uparrow/master 10 1d}}+A complete changelog is available [[https://github.com/chimeric/dokuwiki-plugin-uparrow/commits/|here]] 
 + 
 +{{rss>https://github.com/chimeric/dokuwiki-plugin-uparrow/commits/master.atom date}}
  
 ===== Discussion ===== ===== Discussion =====
 +
 +This plugin is obsolete/deprecated because Dokuwiki as an "Up Arrow" in it's toolbar ; also the author does not maintain it any more. --- [[user>Cyrille37|Cyrille37]] //2019-01-06 12:59//
 +
 +----
  
 [[http://www.inf.ufrgs.br/~kssilveira|Kauê Silveira]]: for compatibility with s5 plugin: [[http://www.inf.ufrgs.br/~kssilveira|Kauê Silveira]]: for compatibility with s5 plugin:
Line 84: Line 86:
 Thanks for this useful plugin. I have enabled uparrow globally via the configuration manager, but would like to disable it on certain page sections - [[http://ehs.wcape.school.za/wiki/doku.php/faq|here is what I mean (as at 30 July 2010)]]. Say you have quite short sections near the top of a page - the uparrow is pointless in that case. Is there a way to do that? Thanks for this useful plugin. I have enabled uparrow globally via the configuration manager, but would like to disable it on certain page sections - [[http://ehs.wcape.school.za/wiki/doku.php/faq|here is what I mean (as at 30 July 2010)]]. Say you have quite short sections near the top of a page - the uparrow is pointless in that case. Is there a way to do that?
  --- //[[darryl.penny@gmail.com|Darryl Penny]] 2010/07/30 11:56//   --- //[[darryl.penny@gmail.com|Darryl Penny]] 2010/07/30 11:56// 
 +
 +----
 +
 +If plugin»uparrow»auto is enabled, is there any way to exclude it from certain pages? Say if I have a sidebar? Thank you!
 +
 +----
 +
 +[[http://aptgetinstall.free.fr|kate]] : To fix incompatibility with farm plugin (uparrow picture is not correctly diplayed due to a path problem) : replace DOKU_URL variable with DOKU_BASE in action.php :
 +replace 
 +<code php>
 +$image = $this->getConf('image');
 +        if(!@file_exists(DOKU_PLUGIN.'uparrow/images/' . $image)) {
 +            $image = DOKU_URL.'lib/plugins/uparrow/images/tango-big.png';
 +        } else {
 +            $image = DOKU_URL.'lib/plugins/uparrow/images/' . $image;
 +        }
 +</code>
 +with
 +<code php>
 +$image = $this->getConf('image');
 +        if(!@file_exists(DOKU_PLUGIN.'uparrow/images/' . $image)) {
 +            $image = DOKU_BASE.'lib/plugins/uparrow/images/tango-big.png';
 +        } else {
 +            $image = DOKU_BASE.'lib/plugins/uparrow/images/' . $image;
 +        }
 +</code>
  
plugin/uparrow.txt · Last modified: 2020-08-07 11:21 by hillschmidt

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