DokuWiki

It's better when it's simple

User Tools

Site Tools


template:ach

ACH Template

Compatible with DokuWiki

Lemming, Anteater, Rincewind, Angua, Adora Belle, Weatherwax

template Changed page structure, added discussion functionality, includes 4 predefined color schemes

Last updated on
2013-04-01
Repository
Source

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

Tagged with !discontinued, discussion, mediawiki, talk

This template is not maintained anymore. If you are interested in adopting it, please contact me.

Download and Install

Refer to template on how to install and use templates in DokuWiki. :!: You also need to make some changes to the color schemes.

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.

Although the template comes with a fixed sidebar, you can add whatever you like to the top of that sidebar by creating a wiki page called “sidebar”. See also the FAQ on sidebars.

Screenshots

Default Color Scheme

Possible Alternative Color Schemes

To Do

  • testing …
  • improve print.css

Version History

  • 2013-04-01
    • updated, :!: Note: includes changes to style.ini, new variable __background_site__ introduced and old variables __background__ and __background_alt__ changed
  • 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

Bug in PHP/5.3.0: If you are using PHP/5.3.0, you have to copy/move all the files from lib/tpl/ach/css/ to lib/tpl/ach/ and remove all occurrences of “css/” in style.ini. Otherwise PHP cannot parse the ini file.

1)
on Windows just open and save
template/ach.txt · Last modified: 2023-10-30 22:44 by Klap-in

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