DokuWiki

It's better when it's simple

User Tools

Site Tools


template:lilas

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
template:lilas [2009-02-07 02:19] 70.103.232.219template:lilas [2016-01-15 18:31] (current) Aleksandr
Line 1: Line 1:
 +====== lilas Template ======
  
 +---- template ----
 +description   : Sitemap and TOC on the left.
 +author        : neolao
 +email         : neo@neolao.com
 +lastupdate    : 2006-04-20
 +compatible    : 2006-03-09
 +depends       : 
 +conflicts     : 
 +similar       : 
 +screenshot_img: http://resources.neolao.com/_media/php/dokuwiki/template_lilas.jpg
 +tags          : !discontinued, sitemap
 +
 +downloadurl   : http://resources.neolao.com/_media/php/dokuwiki/template_lilas_20060420.tar.gz?DokuWiki=b434e5fcdb1a9c9e8f81bf4d74a5f1c8
 +bugtracker    : # eg. https://github.com/@USER@/dokuwiki-template-sample/issues
 +sourcerepo    : # eg. https://github.com/@USER@/dokuwiki-template-sample/
 +donationurl   : # eg. https://www.paypal.com/...
 +---- 
 +
 +:!: [[template:orphans|orphaned]] by author
 +
 +
 +Basically this template gives you the same information that you get when you click the Index button.  It puts this in a navigation box on the left.
 +
 +
 +===== Download and Install ======
 +
 +Use the following URL to download this template:
 +
 +  * http://resources.neolao.com/php/dokuwiki/templates
 +
 +Refer to [[:template]] on how to install and use templates in DokuWiki.
 +
 +===== TOC and new dokuwiki versions ======
 +
 +  ## modifications on dokuwiki-2009-02-14b
 +  ## and template_lilas_20060420, 
 +  ## to run with toc-navigation
 +  ## by gismar[at]gmx[dot]de
 +  ##________________________________________________________________________________
 +    
 +  # to show toc on newer dw version your 
 +  # TOC-section in /lib/tpl/lilas/main.php 
 +  # should look like this:
 +  <!-- ================================= TOC ================================= -->
 + <?php
 + ob_start();
 + tpl_content(false);
 + $buffer = ob_get_clean();
 + ?>
 + <?php if(tpl_toc(true) && $INFO['exists'] && isset($toc)){ ?> 
 + <div class="menu pagemap">
 + <div class="menutop">
 + <div class="prepend"></div>
 + <div class="title"><?php echo $lang["pagemap"]; ?></div>
 + </div>
 + <div class="menubody">
 + <?php tpl_toc()?>
 + </div>
 + <div class="menubottom"><div class="prepend"></div></div>
 + </div>
 + <?php } ?> 
 +  
 +  ##________________________________________________________________________________
 +  
 +  # hide tocheader + toctoggle in page-navigation
 +  # comment /inc/html.php - line 1406 - 1408
 +  
 +  /*    $out .= '<div class="tocheader toctoggle" id="toc__header">';
 +    $out .= $lang['toc'];
 +    $out .= '</div>'.DOKU_LF;
 +  */
 +  
 +  ##________________________________________________________________________________
 +
 +
 +===== Sites using this Template =====
 +
 +  * **[[http://codesemiotic.com/wiki|bpmWiki]]** Wiki about bpm & eam
 +  * **[[http://wiki.plattsalat.de/doku.php|Plattsalat Wiki]]** \\ (unfortunately we couldn't get the TOC to work in the new version with the above mentioned code - any help appreciated) [[http://wiki.plattsalat.de/doku.php|{{http://img689.imageshack.us/img689/1194/plattwiki1.png}}]]
 +  * Add yours here
 +  * **[[http://www.riversedge.pl/|River's Edge Project]]** \\ Site with Polish articles, reports, interviews, gallery, C64. Available also in English language but only few pages are translated yet.
 +
 +===== Discussion =====
 +  * Did anybody have an idea how to masking the "start" in the namespace Site Map?

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