Table of Contents

lilas Template

Compatible with DokuWiki

2006-03-09

template Sitemap and TOC on the left.

Last updated on
2006-04-20

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with !discontinued, sitemap

:!: 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:

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

Discussion