====== ACH Template ====== ---- template ---- description : Changed page structure, added discussion functionality, includes 4 predefined color schemes author : Anika Henke email : anika@selfthinker.org lastupdate : 2013-04-01 compatible : Lemming, Anteater, Rincewind, Angua, Adora Belle, Weatherwax depends : conflicts : similar : screenshot_img: :wiki:tpl:tpl_ach_simple.png tags : !discontinued, mediawiki, discussion, talk downloadurl : https://github.com/selfthinker/dokuwiki_template_ach/archive/master.zip bugtracker : https://github.com/selfthinker/dokuwiki_template_ach/issues sourcerepo : https://github.com/selfthinker/dokuwiki_template_ach donationurl : https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=11071728 ---- **This template is not maintained anymore. If you are interested in [[devel:adoption|adopting it]], please contact me.** ===== Download and Install ====== * **{{https://github.com/selfthinker/dokuwiki_template_ach/archive/master.zip|Download version 2013-04-01}}** for the latest DokuWiki versions ("Adora Belle" and "Weatherwax") * {{https://github.com/downloads/selfthinker/dokuwiki_template_ach/dokuwiki_template_ach.zip|Download version 2011-01-01}} for the DokuWiki version 2010-11-07 "Anteater" * {{wiki:tpl:tpl_ach_20061017.zip|Download version 2006-10-17}} for older DokuWiki versions * [[https://github.com/selfthinker/dokuwiki_template_ach|Repository]] 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 [[devel:css|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..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 ((on Windows just open and save)). #> 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. ==== Sidebar ==== 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:sidebar|FAQ on sidebars]]. ===== Screenshots ===== ==== Default Color Scheme ==== {{:wiki:tpl:tpl_ach_simple.png?500}} ==== Possible Alternative Color Schemes ==== {{wiki:tpl:tpl_ach_natural.png?250 }} {{:wiki:tpl:tpl_ach_blue.png?250 }} {{:wiki:tpl:tpl_ach_dark.png?250 }} ===== 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 ? //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 [[:config:sitemap|google sitemap]]. --- //[[a.c.henke@arcor.de|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. //[[jgchilds@gmail.com|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) ... --- //[[a.c.henke@arcor.de|Anika Henke]] 2006-02-12 23:03// adjusted: --- [[user>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.