DokuWiki

It's better when it's simple

User Tools

Site Tools


Sidebar

Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community


Follow us on Facebook, Twitter and other social networks.

template:doogiestpl

Doogie's Blue Template

Compatible with DokuWiki

  • 2013-12-08 "Binky" unknown
  • 2013-05-10 "Weatherwax" unknown
  • 2012-10-13 "Adora Belle" yes
  • 2012-01-25 "Angua" yes

template Clean and uncluttered blue look that nicely resizes. With configurable tab navigation.

Last updated on
2012-10-22
Repository
Source

Tagged with blue, tabs

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.

Download and Install

Use the following URL to download this template:

For older DokuWiki versions (Anteater and Rincewind), you should use this older version:

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

Configuration

:!: The configuration has changed in the latest version! I.e. when you are upgrading from an older version, you're tabs will be gone at first, but it's easy to get them back … just read on.

Although the tabs have been improved a lot, there is one thing which has been removed, i.e. that tabs were only visible to users with permission to those pages. This functionality is not supported anymore!

The way to add tabs now is by simply adding a normal wiki page called “tabs” (but that pagename is also configurable, so you can change it, see below). You only need to add a simple list of links into that page, e.g.

tabs.txt
  * [[:start|Wiki]]
  * [[:blog:start|Blog]]
  * [[:wikipage|Some title]]
  * [[:otherpage|Other title]]
  * [[this>?do=recent|Recent Changes]]
 
~~NOCACHE~~

That has several advantages: You can use any amount of tabs (only the design restricts the amount), you can use several different tabs per namespace (just create a “namespace:tabs” page), you can now add external links as well and it's easier to change.

Note: The highlighting of the current tab and tabs in namespaces only works in the latest DokuWiki version “Adora Belle”.

config option description default value
tabsPage Name of page for tab navigation (leave empty to disable tabs)tabs
actionsToTop Move the actions to the top? 0

The “actionsToTop” config option makes it possible to move the actions in the footer (search box, login, edit and “more actions” dropdown) to the top above the header.

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

You can report any issues either on the issue tracker or here.

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)
With the latest changes you can add any kind of link to the tabs, including external ones. — Anika HenkeAnika Henke
ach

London, UK
2012/10/23 01:44

Some CSS Breakage

this theme breaks some parts:

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

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)

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)
The way the tabs are done has been changed now, but the new version supports different languages as well, although in a different way. In the new version you only need to add a “tabs” page into your language sub namespaces, e.g. “en:tabs”. Then you can simply localise the link names in there. — Anika HenkeAnika Henke
ach

London, UK
2012/10/23 01:44

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)
Sorry, this has been undone again in the latest version. If you absolutely need that functionality, using something like the ifauth plugin might work. — Anika HenkeAnika Henke
ach

London, UK
2012/10/23 01:44

How to use a Background Image for the Header?

template/doogiestpl.txt · Last modified: 2013/09/20 19:42 by Aleksandr