The main aim of this template is to build the page structure differently, distinguishing between
Its layout is a bit based on the MediaWiki layout. Therefore I integrated the discussion functionality (into the actions per page). It simply lets you create a new discussion page per wiki page (in the top namespace “discussion”). A restriction is: It won't let you know if a discussion page already exists before you pushed the button.
Refer to template on how to install and use templates in DokuWiki. For this template there is only one additional configuration needed.
If you upgrade an older ACH template (from 20060516 or earlier to 20061017 or later), please heed the following renaming of some style.ini parameters!
| old | new |
|---|---|
__text_1__ | __text__ |
__text_2__ | __text_alt__ |
__text_3__ | __text_neu__ |
__background_1__ | __background__ |
__background_2__ | __background_alt__ |
__background_3__ | __background_neu__ |
__border_1__ | __border__ |
__border_2__ | __border_alt__ |
__border_3__ | __border_neu__ |
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.
The following is optional and not necessarily needed.
If you want the template to look well in “export_xhtml mode”, you should change the following line in ./inc/actions.php
ptln('<div class="dokuwiki export">');
to
ptln('<div id="ach__content" class="dokuwiki export">');
That could be handled by the CSS alone as well, but that's too much “unwanted” work for me …
DokuWiki versions from 2006-03-05 on
Hi, just for signal “bug” with the note plugin who cause large blank before the first note of a page. See comments for link to example page. Any idea why ? — Ze 2006-12-03 16:48
It is the “clear:both;” in the style.css of the note plugin. (Or the way my template is styled, depending on your viewing angle.) I think this bug will happen with most 2- or 3-column-layouts … Just delete the “clear:both;” line. It will work (nearly?) exactly like before. — Anika Henke 2006-12-04 23:45
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 linebackground:url(images/logo.png) no-repeat 35px 5px;inlayout.cssinside#mainbox{}. 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
I find this skin very useful. I would suggest to add the hide sidebar /show sidebar functionality as per http://wikiwyg.org/wysi/. This would be a nice way to get the best of both worlds: navigation hints and screen usage.
I do not plan to add such a functionality. But you are free to change the source to your needs (and probably share it here). — Anika Henke 2006-05-15 23:53
I find your template rocks! Thanks a lot. However, I also would like to be able hide / show the sidebar…
Two icons are missing that are present in the default template in the current devel version: toc_hide.gif and toc_show.gif. I have one logfile full of these
— Werner Flamme 2007-04-24 11:03 CEST
This was only a temporary problem. The default template has abandoned these by now. — Anika Henke 2008/10/18 19:45
I'm having a problem with the ACH mediamanager window in Opera 9.25. For some reason, clicking the submit button to upload a new file does absolutely nothing – it doesn't even show the usual cursor that displays when hovering over a link. However, using the shortcut key (Shift-ESC and then 's' in Opera) allows me to submit just fine. Another thing I've noticed is if I remove the left and right divs and just have both display in the media content div, the button works fine. However, I like ACH's split layout of the mediamanager better, so I'd really like to see it work properly in Opera. Thanks very much. — darksiren 2008-03-22 20:41 EDT
I did not work on this template for quite a long while now. But I definitely plan to update it and as Opera is my favourite browser :) I will also fix this bug. Unfortunately I have hardly any time now, but I plan to re-release the ACH template by the end of this year. — Anika Henke 2008/10/18 19:45
After the bug squashing weekend, a license info is shown on the edit page. It starts with <div class="license" > and looks quite ugly since the browser's default font is used. It looks much better in the default template
Will the CSS be modified in the template or is this left to the admin of the installation? Best regards, — Werner Flamme 2008/10/17 12:35 CEST
Same here: Sorry for not updating the template for so long. I will definitely do it, but not in the too near future. Then this issue will be fixed as well, of course. — Anika Henke 2008/10/18 19:45
I am having a problem with Firefox 2.0.0.18. Rendering is just “no layout at all”
. Any hints? FF3 and IE 7 work fine.
— Peter Woerner 2008/12/10 22:30