====== ach Template ====== ---- dataentry template ---- Author_mail: a.c.henke@arcor.de Anika Henke Description: Changed page structure and discussion functionality, 4 predefined color schemes LastUpdate_dt: 2006-10-17 Compatible: 2006-03-05 - 2008-05-05 Template_tags: mediawiki, discussion, talk Screenshot_img: :wiki:tpl:tpl_ach_simple.png ---- The main aim of this template is to build the **page structure** differently, distinguishing between * **actions per page** (edit/show/create, discussion, old revisions, backlinks) * **actions per site** (link to syntax, recent changes, index, search) * **actions per login** (if not logged in: login form; if logged in: logout, update profile, subscribe changes, admin) 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. ===== Download and Install ====== * **{{wiki:tpl:tpl_ach_20061017.zip|Download version 2006-10-17}}** for latest DokuWiki version (2006-11-06 - **2008-05-05** and later) * **{{:wiki:tpl:tpl_ach_20060516_st.zip|Download version 2006-05-16}}** for DokuWiki versions 2006-03-05 and **2006-03-09** Refer to [[:template]] on how to install and use templates in DokuWiki. For this template there is only one [[#additional configuration]] needed. ===== Upgrade ===== 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__%%'' | ===== 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. ==== export_xhtml ==== **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('
'); to ptln('
'); That could be handled by the CSS alone as well, but that's too much "unwanted" work for me ... ;-) ===== Will work with ===== DokuWiki versions from 2006-03-05 on ==== Tested Browsers ==== * Firefox 2.0.0.1 :-) * Firefox 1.0.7 - 1.6a (Win) :-) * Opera 8.01 (Win) and Opera 7.11 (Win) :-) * IE * IE 7.0 (Win) works for me :-) * IE 6.0 (Win) has some design restrictions, I did not yet hunt peekaboo successfully down :-| * IE 5.0 (Win) has a few more design restrictions and bigger problems with widths :-/ * Mozilla 1.3.1 has some design restrictions :-/ * :!: Netscape Navigator 4.08 (Win) **crashes!** :-( * Safari 2.0.3 (Mac OS X) works fine ;-) ===== 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, testing, testing, ... * improve rtl.css * improve print.css * fix peekaboo bugs in IE * ... ===== Version History ===== * **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 ===== Hi, just for signal "bug" with the note plugin who cause large blank before the first note of a page. See [[plugin:note#comments]] for link to example page. Any idea why ? --- //[[Ze@nbox.org|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. --- //[[a.c.henke@arcor.de|Anika Henke]] 2006-12-04 23:45// 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 35px 5px;'' in ''layout.css'' inside ''#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) ... --- //[[a.c.henke@arcor.de|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). --- //[[a.c.henke@arcor.de|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@ufz.de|Werner Flamme]] 2007-04-24 11:03 CEST// > This was only a temporary problem. The default template has abandoned these by now. --- //[[anika@selfthinker.org|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. --- //[[http://darksiren.net/contact|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@selfthinker.org|Anika Henke]] 2008/10/18 19:45// After the bug squashing weekend, a license info is shown on the edit page. It starts with ''%%
%%'' 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@ufz.de|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@selfthinker.org|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. --- // [[info3@ing-woerner.de|Peter Woerner]] 2008/12/10 22:30// ===== Sites using this Template ===== * http://abcwiki.selfthinker.org * http://johbuc6.coconia.net/ * [[http://www.urbibus.org/|Les encyclopédies des villes du monde]]