Quantcast
Channel: DokuWiki
Viewing all articles
Browse latest Browse all 25296

plugin:inlinetoc

$
0
0
1449408456current
Line 2:Line 2:
  
 ---- plugin ---- ---- plugin ----
-description: Renders the toc of a page inside the page content, a la Mediawiki+description: Renders the toc of a page inside the page content, like Mediawiki
 author     : Andreone author     : Andreone
 email      : nfauvet@free.fr email      : nfauvet@free.fr
Line 29:Line 29:
 Sample result: Sample result:
  
-{{https://github.com/downloads/Andreone/dokuwiki_inlinetoc/sample.png?1000|Click to view full size}}+{{https://github.com/downloads/Andreone/dokuwiki_inlinetoc/sample.png|Click to view full size}}
  
 ===== Notes ===== ===== Notes =====
Line 54:Line 54:
   * **2011-05-30**   * **2011-05-30**
     * Initial release     * Initial release
 +
 ===== Wishes ===== ===== Wishes =====
 +
   - Can this plugin be enabled for whole wiki?\\ Not really because it's built as a replacement plugin, not a general purpose plugin. It could be adapted but I believe it would make more sense to make a completely separate plugin for that purpose. <sub>Andreone 30/12/2011</sub>\\ \\    - Can this plugin be enabled for whole wiki?\\ Not really because it's built as a replacement plugin, not a general purpose plugin. It could be adapted but I believe it would make more sense to make a completely separate plugin for that purpose. <sub>Andreone 30/12/2011</sub>\\ \\ 
   - Could it be possible to limit the displayed level of headings?\\ e.g. ''{''''{''INLINETOC 3''}''''}'' will only display level1...level3 in the TOC <sub>Joachim 11.01.2012</sub>\\ As the plugin directly use Dokuwiki's TOC, I don't think I can do that. I will think about this however. <sub>Andreone 13/01/2012</sub>   - Could it be possible to limit the displayed level of headings?\\ e.g. ''{''''{''INLINETOC 3''}''''}'' will only display level1...level3 in the TOC <sub>Joachim 11.01.2012</sub>\\ As the plugin directly use Dokuwiki's TOC, I don't think I can do that. I will think about this however. <sub>Andreone 13/01/2012</sub>
  
 ===== Improvements ===== ===== Improvements =====
 +
 This improvement allows to create multiple tocs inside of the document (different deeps and start points) This improvement allows to create multiple tocs inside of the document (different deeps and start points)
  
 ==== Syntax ==== ==== Syntax ====
 +
 <code> {{INLINETOC}} </code> <code> {{INLINETOC}} </code>
 => normal inlinetoc as you know => normal inlinetoc as you know
Line 74:Line 78:
  
 ==== Code ==== ==== Code ====
 +
 <file php action.php> <file php action.php>
 <?php <?php
Line 421:Line 426:
  
 ==== About ==== ==== About ====
 +
 We have needed this functions in our company for internal documentation and it would be nice to see those features in your next release.  We have needed this functions in our company for internal documentation and it would be nice to see those features in your next release. 
  
Line 439:Line 445:
  
 ==== Hiding Dokuwiki TOC for Adora Belle ==== ==== Hiding Dokuwiki TOC for Adora Belle ====
 +
 Until the plugin is updated, here is what you'll have to change in order to hide the Dokuwiki TOC. Edit  inlinetoc.js: Until the plugin is updated, here is what you'll have to change in order to hide the Dokuwiki TOC. Edit  inlinetoc.js:
  
Line 450:Line 457:
  
 ==== inlinetoc.js jQuery version for Adora Belle and Weatherwax (solved) ==== ==== inlinetoc.js jQuery version for Adora Belle and Weatherwax (solved) ====
 +
 Here is a jQuery solution to make DokuWiki TOC invisible. Here is a jQuery solution to make DokuWiki TOC invisible.
  
Line 469:Line 477:
  
 >Thank you both of you for providing a working solution during my coma. -- [[user>andreone|Andreone]]// 2013/07/27 22:30// >Thank you both of you for providing a working solution during my coma. -- [[user>andreone|Andreone]]// 2013/07/27 22:30//
 +
 ==== Problem: no output on screen, INLINETOC not working? (solved) ==== ==== Problem: no output on screen, INLINETOC not working? (solved) ====
 +
 I inserted <code>{{INLINETOC}}</code> at the beginning of a page, but no toc is generated.\\  I inserted <code>{{INLINETOC}}</code> at the beginning of a page, but no toc is generated.\\ 
 Any idea would goes wrong?  <sub>//24.08.2011 Joachim//</sub> Any idea would goes wrong?  <sub>//24.08.2011 Joachim//</sub>
Line 484:Line 494:
 **not working** **not working**
 <code> <code>
 +
 ====== plugin inlinetoc ====== ====== plugin inlinetoc ======
  

Viewing all articles
Browse latest Browse all 25296

Trending Articles