Sphene Community Tools

Community

Copyright © 2007-2018 by Herbert Poul

You are not logged in.
Login
Register

Change Language:



AddThis Social Bookmark Button

A Django site.

Powered by Sphene Community Tools
Board » General » Sandbox

I can't play in the sandbox! And I wanted to learn how to do ToCs! :(
What? You wanted a sig?
umm.. you are right..
the wiki currently does not honor edit permissions.. only admins can edit..

i'll fix that tomorrow ;)


btw. the TOC are simply the headlines you are writing in the snip (h1,h2,h3,.. ie. #, ##, ###,..)

they are available as: sph.toc in the templates.. you can add it to the sitetemplates/base.html for example..

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


is the code i'm using... (i think i'll simply publish the rest of the code to this website one day.. which are basically.. settings and templates.. i just have to figure out a way to do this without causing chaos in the repository ;) )
Hey, we have Signatures !!! Great, isn't it ? ;)

Please login to post a reply.



Powered by Sphene Community Tools