DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:toc

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:toc [2009-10-10 18:38] – tag cleanup layneeplugin:toc [2023-06-08 17:58] (current) 66.220.236.97
Line 6: Line 6:
 email      : s-andy@in.if.ua email      : s-andy@in.if.ua
 type       : syntax, action type       : syntax, action
-lastupdate : 2009-09-23 +lastupdate : 2009-04-13 
-compatible : +compatible : Greebo, !Hogfather, !Jack Jackrum
 depends    :  depends    : 
 conflicts  conflicts 
-similar    :  +similar    : tocselect 
-tags       : include, mediawiki+tags       : include, mediawiki, toc 
 +downloadurl: http://projects.andriylesyuk.com/attachments/download/92/toc.tgz
 ---- ----
 +
 ===== Download and Installation ===== ===== Download and Installation =====
  
-Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the following URL. Refer to [[:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
-  * {{http://www.nung.edu.ua/dokuwiki/toc.tgz}} ((need help hosting the file --- feel free to add mirrors here))+  * [[http://projects.andriylesyuk.com/attachments/download/92/toc.tgz|toc.tgz]]
   * [[http://sw.ixo.ca/toc.tgz|toc.tgz]] (USA)   * [[http://sw.ixo.ca/toc.tgz|toc.tgz]] (USA)
-  * [[https://informatica.temuco.udelmar.cl/~lmachuca/files/dokuwiki/toc.tgz|toc.tgz]] (Chile)+  * [[https://informatica.temuco.udelmar.cl/~lmachuca/files/dokuwiki/toc.tgz|toc.tgz]] (Chile) FIXME
      
  
Line 25: Line 27:
  
 Sometimes it happens that core TOC conflicts with some other elements placed in the top right corner (e.g. tags). In this case the only solution is to turn off TOC using ''%%~~NOTOC~~%%''. TOC plugin adds new syntax code ''%%~~TOC~~%%'' which can be used to move TOC inside page content (e.g. like it is done on Wikipedia). Sometimes it happens that core TOC conflicts with some other elements placed in the top right corner (e.g. tags). In this case the only solution is to turn off TOC using ''%%~~NOTOC~~%%''. TOC plugin adds new syntax code ''%%~~TOC~~%%'' which can be used to move TOC inside page content (e.g. like it is done on Wikipedia).
 +
 +see also http://projects.andriylesyuk.com/project/dokuwiki/toc
  
 ===== Known bugs ===== ===== Known bugs =====
  
-You can use ''%%~~TOC~~%%'' several times in page content. But other TOCs won't work well...+  * You can use ''%%~~TOC~~%%'' several times in page content. But other TOCs won't work well..
 +  * There is currently no way to disable the default location of the TOC without also disabling THIS one. In other words: You have 2 TOCs or none. 
 + 
 +===== Issue tracker ===== 
 + 
 +Issues should be reported [[http://projects.andriylesyuk.com/projects/dokuwiki-toc/issues|here]].
  
 ===== Discussion ===== ===== Discussion =====
Line 34: Line 43:
 >Please include the toc folder into the tar file. If you uncompress the plugin into your DokuWiki plugins folder, then the default action.php, style.css, and syntax.php will be overwritten :-(. Most plugins include a directory with the same name containing all the code files. >Please include the toc folder into the tar file. If you uncompress the plugin into your DokuWiki plugins folder, then the default action.php, style.css, and syntax.php will be overwritten :-(. Most plugins include a directory with the same name containing all the code files.
 Fixed, thanks and sorry! Fixed, thanks and sorry!
 +
 +> This TOC plugin works with DokuWiki 2013-12-08 "Binky", however style.css file needs to modify if you want to get mediawiki-like TOC box. --- [[user>s.sahara|s.sahara]] //2014/03/01 02:42//
 +
 +> This TOC plugin does not work with "Igor". It generates an exception as follows:
 +
 +''dokuwiki\Exception\FatalException: Declaration of action_plugin_toc::register(&$controller) must be compatible with dokuwiki\Extension\ActionPlugin::register(Doku_Event_Handler $controller)
 +
 +An unforeseen error has occured. This is most likely a bug somewhere. It might be a problem in the toc plugin.
 +
 +More info has been written to the DokuWiki error log.''
 +
plugin/toc.1255192734.txt.gz · Last modified: 2009-10-10 18:38 by laynee

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