Translations of this page?:

Sidebar

Author:
ChrisS
Description:
Provide DokuWiki with a flexible sidebar.
LastUpdate:
2009-01-27
Compatible:
2008-05-05, rc2009-01-26
Template:
sidebar
Screenshot:
screenshot: dokuwiki-sidebartemplate-2x2.jpg

Provide DokuWiki with a flexible sidebar.

Download and Install

Use the following URL to download this template:

Refer to template on how to install and use templates in DokuWiki.

Sites using this Template

Bug found

Using citation 1) I recognized, that obviously the same stylesheet (of the main page) is used for showing the citation-text while MouseOver. This results in partly invisibility of the citation/popup, because the first column is blank (sidebar) and the border/size of the main window is ignored. While the citations at the end of the line is not visible, you see nothing of the text. DokuWiki 2009-02-14 & latest plugin sidebar

Feature Request

Is it possible to install a config-switch (checkOnOff) to open the namespace start-page by clicking on the sidebar-navigation entry of the namespace. Instead of listing “start” in the sidebar. The name of the “start”-page is a config-data of DokuWiki, where the name can be achieved, if it is changed by the admin. Like plugin indexmenu.

Bug found

In DokuWiki v2008-05-05 In the template that I use the side bar includes index of the whole wiki. When expanding the index the side bar does not resize, so many of the name spaces and pages in the index are cropped and are half shown or not shown at all. One fix would be for the user to be able to dynamically resize the side bar frame. Another solution would be for the side bar to automatically resize itself so that all its text is shown correctly.

Bug found

FIXED In DokuWiki v2008-05-05 I had to change lib/tpl/sidebar/main.php from

    <div class="bar-right" id="bar__bottomright">
      <?php tpl_button('subscribe')?>
      <?php tpl_button('subscribens')?>
      <?php tpl_button('admin')?>
      <?php tpl_button('profile')?>
      <?php tpl_button('login')?>
      <?php tpl_button('index')?>
      <?php tpl_button('top')?>&nbsp;
    </div>

to

    <div class="bar-right" id="bar__bottomright">
      <?php tpl_button('subscription')?>
      <?php tpl_button('admin')?>
      <?php tpl_button('profile')?>
      <?php tpl_button('login')?>
      <?php tpl_button('index')?>
      <?php tpl_button('top')?>&nbsp;
    </div>

to get the “subscription” buttons OK.

Acknowledged. I'll mark the current release as develonly and release one with the single button put back ASAP. — Christopher Smith 2009/01/21 09:36
Fixed. Download packages and darcs versions updated. — Christopher Smith 2009/01/25 03:41

Bug Found

FIXED I've been trying to use the sidebar template. I like it except for one bug I've found. The menu never expands to the current location.

Example: If I'm at main:second:third:topic the menu will look like this:

\/ main
  \/ second
     + third

Third should be expanded so anything relevant can be accessed in a single click.

\/ main
  \/ second
     \/ third
         topic
         topic2
         topic3

Fix

92c92
< #    $ID = getNS($ID);
---
>     $ID = getNS($ID);
Fixed. Download packages and darcs versions updated. — Christopher Smith 2009/01/25 03:41

Plugin Version

Since this template only adds a few lines to the original DokuWiki template, I implemented this as an Action plugin. See sidebar. Hope you don't mind. — Markus Birth 2009/02/10 01:58

Discussion

Minor point but would it be possible to have a better screenshot?

How do I make font size bigger on Sidebar templates?

1) remark
 
template/sidebar.txt · Last modified: 2010/02/01 19:41 by 74.93.99.97
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate