Translations of this page?:

Doogie's Blue Template

Compatible with DokuWiki

  • 2012-01-25 "Angua" unknown
  • 2011-05-25 "Rincewind" yes
  • 2010-11-07 "Anteater" yes

template Clean and uncluttered blue look that nicely resizes. With configurable tab navigation. Works in all browsers incl. Safari.

Last updated on
2012-01-01

Tagged with blue

Clean blue look that nicely resizes. Works in all browsers (incl. Safari). I am really happy how active this theme got. It's download link became by far the most visited link of my homepage. My goal was to keep this design as clean an uncluttered as possible. There are only those links on every page, that are really necessary.

FIXME This plugin has not yet been tested with the brand new “Anguna” release. I hope that I will soon find the time to base this template on the starter template. The plugin works perfectly fine with Rincewind and Anteater. – Doogie (Template Author, February 2012)

Download and Install

Use the following URL to download this template:

Unpack the file into your <DOKUWIKI>/lib/tpl/ directory and then choose “doogiestpl” as template in the configuration manager of your DokuWiki.

Configuration

You can configure the title and the target for up to five tabs in dokuwikis builtin configuration manager. (Admin → Configuration → look at the very bottom.) Each tab will only be shown if the tab has a title and a target page and if the currently logged in user has the permission to view the target page.

The actual configuration is stored in the file /lib/tpl/doogiestpl/conf/default.php. Here is an example configuration:

default.php
/* configuration for navbar in Doogies Template
 * (This is a piece of PHP code so PHP syntax applies!)
 */
 
# list of tabs in the navigation bar (title of tab => name of linked wikipage)
$conf['navbar_tab1_title']   = 'Wiki';
$conf['navbar_tab1_target']  = 'Start';
$conf['navbar_tab2_title']   = 'Blog';
$conf['navbar_tab2_target']  = 'BlogPage';
$conf['navbar_tab3_title']   = 'Some title';
$conf['navbar_tab3_target']  = 'WikiPage';
$conf['navbar_tab4_title']   = 'Other title';
$conf['navbar_tab4_target']  = 'OtherPage';
$conf['navbar_tab5_title']   = '';  # tab will not be shown when title or
$conf['navbar_tab5_target']  = '';  # target is empty

# Add link to recent changes as last tab. Title will be the localized title from $lang
$conf['navbar_recent'] = 1;

If you do not want to have any tabs then change default.php to:

$conf['navbar_buttons'] = array();
$conf['navbar_recent']  = 0;

Version history

  • Version 9.0: 2011-10-15
    • moved breadcrumbs and login to the very top
    • You can now configure five tabs with dokuwikis builtin configuration manager.
    • Tabs are only shown if user has the right to view the target page.
    • And title of tabs can be localized.
  • Version 8.0: 2010-12-27
    • update for new Dokuversion “Anteater”
    • fixed some bugs reported by users - thanks to all testers
  • Version 5.0: 2010-01-17: This template now also works DokuWiki version 2009-12-25c “Lemming”. The new version is even more uncluttered. When the current visitor is not yet logged in it shows only the absolutely necessary links. :!: The configuration for the tabs has changed.

Sites using this Template

Screenshot

Discussion

In order to organize this a little bit I opened a GetSatisfaction Community. Feel free to post any bugs, comments and feature requests there:

How to add an external link ?

Hello, how can I add an external link in the navbar ? ~ktr (my wiki)

Short answer: At the moment you can't, sorry. The plugin assumes, that the tabs link to internal pagenames. –Robert (template author)

Some CSS Breakage

this theme breaks some parts:

  • notes plugin
  • image editing in standard editor ← FIXED in version 8.0 –Robert (template author)

Dropdown menus in the navigation bar

Hello, Is there a way to include dropdown menus on the navigation bar?

Yes, there is: Chose any of the myriad JS or CSS dropdown menu scripts available on the web, and add them to your template dir plus some implementation :-) But to answer the question how you most likely meant it: No, there is no built in way to have a drop down menu. (An most likely there also won't be any in the future, cause I want my template to be easy and clean. It actually works quite well in the text mode browser “w3m” on the linux command line.) – Robert (Nov.2011)

Navigation bar in multilingual pages

Is there a way to change the links of the navigations bars accordingly the selected language? For example, I have buttons pointing to start, page1, page2, etc. When someone choose the English version and go to en:start, the navigations bar still point to the original pages (instead of en:start, en:page1, en:page2). Is there something I can do to solve this? Thanks in advance. P.S. the wiki I'm putting together is www.wikipeixes.com.br

Oh, this is actually a quite reasonable feature request. Thanks for the hint. Ok, I'll try to implement this in the next version. (Sorry, can't give any timeframe.) – Robert (Nov. 2011)
done! (version 9.0)

Make tabs visible to only those who have permission

I'm creating a page with one tab that needs to be used by an internal group of people. When I changes the permissions to “none” for everyone else, they can still see the tab and a message saying they do not have permissions to the page when they click on it. I would rather not have everyone else see the tab at all (so people don't start complaining that they don't have permissions). Is that possible? I'm new to php, so I'm not sure if this is a trivial question or not.

Ok, I'll try to implement this. Shouldn't be too hard. – Robert (Nov. 2011)
done! (version 9.0)
template/doogie.txt · Last modified: 2012/02/02 10:39 by 213.61.78.222
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate