Table of Contents

Starter Template

Compatible with DokuWiki

  • 2024-02-06 "Kaos" unknown
  • 2023-04-04 "Jack Jackrum" yes
  • 2022-07-31 "Igor" unknown
  • 2020-07-29 "Hogfather" yes

template The template that gets you started

Last updated on
2024-01-21
Repository
Source

Similar to benjamin, twigstarter

Tagged with sidebar, simple, start

The Starter Template is designed to be the starting point of your custom template. It has a lot of inline comments in the code which should explain many things. It focuses less on design, but more on maintainability.

It is done in a way which lets you worry less about DokuWiki's core styles. Instead you only need to care about the five main styles:

You can find further advice on How to create an easily maintainable DokuWiki template written by Andreas Haerter (based on a former blog post by Michael Klier).

Refer to Template Development documentation for general information.

Download and Install

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

Configuration

These are in [theme root]/starter/conf/default.php. It can be changed from the Configuration panel.

config option description default value
hideTools hide editing and other tools when not logged in 0
sidebarIsNav use a nav element around the sidebar if it's mainly used for navigation, otherwise use an aside element (new since version 2021-01-25) 1

Config options in previous versions (removed in version 2021-01-25):

More Info

Credits

Changes

If you are a template author using this template as a base for your own, you might want to check out the list of detailed changes.

Demo

Templates based on Starter

Comments

How to translate this theme?

There are three files to translate:

You can either send me language files to update by email or post them here or in the bugtracker. Please have a look at the available translations first.

How to insert a logo image instead of text?

Open the template's main.php and search for “logo”. It's explained in there.

CSS bug w/ zoom plugin

An image included with the zoom plugin will scroll over the footer and hide it

I cannot reproduce this. Do you have any more specific information? (Browser, other installed plugins, etc?) — Anika Henke 2011/05/02 16:45

Tools hidden - can't login

In the template config, I selected «hide editing and other tools when not logged in» and then I logged out. But now I can't log in as there is no «Login» button/link showing.

Am I missing something? — Nactus 2011-11-10

You probably need to save/remember the login URL (you can get it just by adding ?do=login to any DokuWiki URL). In fact I use the following bookmarklet:
javascript:window.location=window.location+"?do=login"

(I'm assuming the use of webserver rewriting) —Antonio Bueno 2011/11/11 21:40

That sounds like a good idea! Thanks — Nactus 2011-11-13

in line 31 of tpl_functions

tpl_pagelink($backID, $backTitle); 

returns

discussion:home

for the page ID when the link is built. The issue is not with the _tpl_discussion function as replacing $backID with 'home' produces the same problem.

A fix is:

tpl_pagelink(':'.$backID, $backTitle);
Thanks. That's fixed since today's release. — Anika Henke 2014-05-19 03:24