DokuWiki

It's better when it's simple

User Tools

Site Tools


template:ach

This is an old revision of the document!


ACH Template

Author:
Anika Henke
Description:
Changed page structure and discussion functionality, 4 predefined color schemes
LastUpdate:
2011-01-01
Compatible:
2006-03-05 - 2010-11-07 "Anteater"
Template:
mediawiki, discussion, talk
Screenshot:
screenshot: tpl_ach_simple.png

Download and Install

Refer to template on how to install and use templates in DokuWiki. For this template there is only one additional configuration needed.

Additional Configuration

Color Schemes

This template uses the CSS dispatcher of the latest DokuWiki release and its CSS replacement technique. Therefore a style.ini.dist lies in ./lib/tpl/ach/, which must be renamed to style.ini, waiting for your inventive color schemes.

The default scheme is just simple black and white. For examples how to change the style.ini parameters, there are three more color schemes (more or less ugly) distributed in ./lib/tpl/ach/, named style.ini.<name>.scheme. Applying one of those is simple: Just copy their content into style.ini – overwriting the old content.

If you apply a color scheme by renaming a file to style.ini, you probably have to touch it 1).

#> touch /path/to/style.ini

Most parameters of the style.ini handle the colors, but you can even add, remove or widen the section indenting.

Screenshots

Default Color Scheme

Possible Alternative Color Schemes

To Do

  • testing …
  • improve print.css

Version History

  • 2011-01-01
    • completely rewritten using the starter template
  • 2006-10-17
    • upgrade to latest DokuWiki version (mainly new mediamanager and renaming of style.ini parameters)
  • 2006-05-16
    • just a few bugfixes
  • 2006-03-05
    • changed all template-ids
    • updated changed CSS
    • added a few language files
    • fixed a small bug with the discussion buttons
  • 2006-02-12
    • updated changed CSS
    • changed logic of “site action” links a bit
  • 2006-01-06
    • updated changed CSS
  • 2005-11-29 (works with DokuWiki snapshots from 2005-11-28 and later)
    • updated style.ini due to changes in DokuWiki-2005-11-28
    • changed layout of footer and footnotes a bit
    • fixed bug which made links sometimes unclickable in TOC
    • added style.ini parameter for changing the headline color
  • 2005-11-19 (works with DokuWiki snapshots from 2005-10-31 until 2005-11-27)
    • print.css
    • changed layout of content headlines
    • added toolbar styles
    • fixed strange behaviour in media popup
  • 2005-11-13: first version

Comments and Questions

The discussion-button is a form → it won't be googled. Maybe we could add a <link>? Johannes Buchner 2006-01-23 11:11

One reason why I made the discussion-button a button and not a link, is because I did not want discussion pages to be indexed by search engines. But you can either use a link instead of a button (search for “link instead of button” in the template's main.php) or use a google sitemap. — Anika Henke 2006-02-02 20:51

I am curious as to how I would change the DokuWiki logo you have at the top of the page. I would like to substitute my own images in there. Jeff Childs 2006-02-12 12:27

To change the logo you have to alter the line background:url(images/logo.png) no-repeat 25px 0; in design.css inside .dokuwiki .wrapper{}. Exchanging the logo is simple, but to adjust the position of that image could be a bit tricky (depending on how different sized your image is). Just play around with those two values (35px and 5px) … — Anika Henke 2006-02-12 23:03 adjusted: — ach 2011/01/02 00:52

Sites using this Template

1)
on Windows just open and save
template/ach.1293926908.txt.gz · Last modified: 2011-01-02 01:08 by ach

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki