Table of Contents

A Centered Perspective Template

Compatible with DokuWiki

Anteater

template Designed like the ADC

Last updated on
2010-08-11

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

Extension name contains underscore, will not generate popularity points.

Tagged with minimal, nice, sidebar, simplistic

The template features pulldown menus for the common toolbox of arctic and a menu based on the implementation of the navi-plugin. Just create an hierarchical list of links in the page “:menu”.

How to get the menu

You have to create a page “:menu” where you put in all the links in a hierarchical Dokuwiki-Syntax-formatted list like so:

  * [[:start]]
    * [[:subpage1]]
    * [[:subpage2]]
  * [[:someOtherPage]]

where then the links to “subpage1” and “subpage2” will only be visible when the visitor of you site is on the page “start”, “subpage1” and “subpage”, but not when he's on “someOtherPage”.

Download and Install

Use the following URL to download this template:

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

Translations

Japanese

/lang/ja/settings.php

settings.php
<?php
/**
 * japanese language file for the configuration manager
 */
 
$lang['sidebar']                        = "サイドバーの設定";
$lang['pagename']                       = "サイドバー用ページ名";
$lang['trace']                          = "ページの冒頭にトレースを表示";
$lang['main_sidebar_always']			= "全ての名前空間にメインサイドバーを表示";
$lang['wiki_actionlinks']               = "操作リンクの表示方法";
$lang['user_sidebar_namespace']         = "ユーザーサイドバー用の名前空間";
$lang['group_sidebar_namespace']        = "グループサイドバー用の名前空間";
$lang['left_sidebar_order']             = "左サイドバーの順序(カンマ区切り)";
$lang['left_sidebar_content']           = "左サイドバーの内容";
$lang['left_sidebar_content_other']     = "その他の内容(カンマ区切り)";
$lang['right_sidebar_order']            = "右サイドバーの順序(カンマ区切り)";
$lang['right_sidebar_content']          = "右サイドバーの内容";
$lang['right_sidebar_content_other']    = "その他の内容(カンマ区切り)";
$lang['search']                         = "検索ボックスの位置(両サイドバー使用時のみ適用)";
$lang['closedwiki']                     = "非公開ウィキ(ログアウト時、ログインリンクのみ表示)"; 
$lang['hideactions']                    = "ログアウト時、ウィキ操作は全て隠す";
// vim:ts=4:sw=4:et:enc=utf-8:

Sites using this Template

Bugs?

Firefox 3.6.8 bug

In Firefox 3.6.8, I had to comment out line 439 in the this_design.css for the trace menu at the bottom to work properly:

.breadcrumbs {
    /*clear: both;*/
}

Is this a general bug, or unique to Firefox? Yes, I did clear the browser cache and purged the Dokuwiki cache also before trying this… Symon Bent 2010-Aug-27

Menu not showing up correctly. Fix: Pages must exist to show up correctly in the menu.

Category with no subcategories removes the horizontal line border. Fix: Open up this_design.css, find the line “.menu > ul > li > div > a {”, change to “.menu > ul > li > div a {”

Menu only works in the root namespace when using translation3 plugin. I installed translation3 plugin and can not figure out how to force the template to read ns1:sidebar and ns1:menu when using ns1 language. The plugin uses two-letter iso language codes to change translations. Pages :menu and :sidebar work only from root.

Icons beside search box in Chrome & IE

In Chrome & IE, the icons beside the search box do not show up.

FIXME Fix: Open this_design.css. In “.action-menu-title” add the following:

.action-menu-title {
       font-family: 'Arial Unicode MS', 'Microsoft Sans Serif', 'Free Sans', 'Gentium Plus', 'Gentium Basic', Gentium, GentiumAlt, 'DejaVu Sans', 'DejaVu Serif', 'Free Serif', 'TITUS Cyberbit Basic', 'Bitstream Cyberbit', 'Bitstream CyberBase', 'Doulos SIL', Code2000, Code2001;

       ....(rest of css goes here)
}

This doesn't seem to work for Chrome. It does work for IE. Any ideas on getting it to work in Chrome?

Other

<div class="menu">
<ul>
 <li class="level1"><div class="li">ok</div></li>
 <li class="level1"><div class="li">ok</div></li>
 <li class="level1"><div class="li"><span class="current">ok</span></div>
 <ul>
  <li class="level1"><div class="li"> ### </div></li>  <---   WRONG class for LI. Must be "level2"  
  <li class="level2"><div class="li"><span class="current"><span class="curid">ok</span></span></div>
  <ul>
  <li class="level2"><div class="li"> ### </div></li> <---  WRONG class for LI. Must be "level3"  
  <li class="level3"><div class="li"></div></li>
  </ul>
  </li>
<li class="level2"><div class="li">ok</div></li>
</ul>
</li>
</ul>
$R->listitem_open($lvl+1);