Sphene Community Tools

Community

Copyright © 2007-2009 by Herbert Poul
You are not logged in.
Login
Register

Change Language:



AddThis Social Bookmark Button

A Django site.

Powered by Sphene Community Tools

Profile for devcamcar



Name devcamcar
Email Address Reveal this emailaddress
Posts1
  • Wiki Table of Contents problems
    Board » General » Feature Discussions
    Hello, I am attempting to get the table of contents to display properly and so far I haven't have any luck. Hopefully someone here can point me in the right direction.

    I found this in showSnip.html:

    {% if False and sph.toc %}
    <div id="sphwiki_toc">{{ sph.toc }}</div>
    {% endif %}

    Obviously that won't work, but if I change the if statement to:

    {% if sph.toc %}

    I still don't get any output. What are the conditions that must be met for sph.toc to contain anything?


    Thanks in advance!

    to the template but I think documentation is a bit scarce regarding how it works:





Powered by Sphene Community Tools