Pages

Simple trick how to toggle dokuwiki sidebar

How to Toggle Dokuwiki Sidebar (Modify a bit on template)
1. Go to lib > tpl > dokuwiki > main.php
2. Paste below script under

3. Done !

1 comment:

  1. If you get jQuery from CDN you broke editor panel, no special need to get jQuery again:


    jQuery( "#fff" ).click(function() {
    jQuery( "#dokuwiki__top" ).toggleClass("showSidebar");
    jQuery( "#dokuwiki__top" ).toggleClass("hasSidebar");
    jQuery( "#dokuwiki__aside").toggle();
    });

    ReplyDelete