====== minima Template ====== ---- template ---- description : Clean layout with sidebar, three fixed widths and six predefined colour schemes author : Don Bowman (previous author: Esther Brunner) email : don@lynsoft.co.uk lastupdate : 2014-04-30 compatible : Anteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons incompatible : depends : conflicts : similar : tags : minimal, sidebar, cms, tabs, themes downloadurl : https://trello.com/1/cards/643179bb78a4436a52901700/attachments/64317a1d5959d137f712f5e0/download/template_minima_20140430.zip bugtracker : # eg. https://github.com/example/dokuwiki-template-sample/issues sourcerepo : # eg. https://github.com/example/dokuwiki-template-sample/ donationurl : # eg. https://www.paypal.com/... screenshot_img: https://trello.com/1/cards/643179bb78a4436a52901700/attachments/64317b84cf243039b577acab/download/dokuwiki-template-minima.png ---- ===== Original info ===== Originally developed by Esther Brunner. Adopted by --- [[user>donbo|Don Bowman]] //2011/01/06 13:29// ===== Download ===== ^ Compatible with DokuWiki 2013-12-08 "Binky" ^^^ | 2014-04-30 | zip | [[http://download.lynsoft.co.uk/template_minima_20140430.zip]] (365 KB) | | 2014-04-30 | tgz | [[http://download.lynsoft.co.uk/template_minima_20140430.tgz]] (329 KB) | ^ Compatible with DokuWiki 2012-10-13 "Adora Belle" ^^^ | 2014-04-27 | zip | [[http://download.lynsoft.co.uk/template_minima_20140427.zip]] (365 KB) | | 2014-04-27 | tgz | [[http://download.lynsoft.co.uk/template_minima_20140427.tgz]] (329 KB) | ^ Compatible with DokuWiki 2012-01-25 "Angua" ^^^ | 2011-01-18 | zip | [[http://download.lynsoft.co.uk/template_minima_20110118.zip]] (351 KB) | | 2011-01-18 | tgz | [[http://download.lynsoft.co.uk/template_minima_20110118.tgz]] (321 KB) | ^ Earlier version (compatible with DokuWiki 2006-11-06) ^^^ | 2009-04-01 | zip | [[http://download.lynsoft.co.uk/template_minima.zip]] (347 KB) | | 2009-04-01 | tgz | [[http://download.lynsoft.co.uk/template_minima.tgz]] (319 KB) | The version that can still be found at Google Code is the same as the earlier version above: --- [[user>donbo|Don Bowman]] //2011/01/20 14:00// >I found the Minima template at Google Code. You may download it via SVN: > > svn checkout http://minima-template.googlecode.com/svn/trunk/ minima-template-read-only > More information about the project can be found at Google Code, even if there's nothing new: [[http://code.google.com/p/minima-template/]] --- //[[emodul@gmx.net|eModul]] 2008/05/31 16:47// ===== Features ===== {{ https://trello.com/1/cards/643179bb78a4436a52901700/attachments/64317b84cf243039b577acab/download/dokuwiki-template-minima.png|Minima template Screenshot}} * Header with customizable background graphic * Six predefined color schemes: blue, brown, grey, green, pink and purple. * Two column CSS layout centered in the window * Three predefined widths: 610 pixels (narrow), 754 pixels (medium) or 987 pixels (wide). * Easier to read because of shorter lines and higher line heights * No section indention * Sidebar like [[http://wiki.jalakai.co.uk/dokuwiki|sidebar]] template -- thanks to Chris Smith! * Separation of page, site and user actions * Page actions (edit, revisions, backlinks, subscribe) are in button bar below the page * Site actions (index, search, recent changes) are in sidebar below sidebar content * User actions (login, profile, admin) are in sidebar below site actions * User without edit permission for a page won't see page actions button bar ===== Color Schemes ===== This template comes with six predefined color schemes: blue, brown, green, gray, pink and purple. The default scheme is blue. To activate another, use the [[plugin:config|configuration manager]] or copy and rename the color scheme of your choice manually to ''style.ini''. ===== Widths ===== This template comes with three predefined widths: 610 pixels (narrow), 754 pixels (medium) or 987 pixels (wide). The default width is medium. To activate another, use the [[plugin:config|configuration manager]]. ===== Customizing ===== You can easily replace the background graphic to give your wiki an individual look. The graphic has to be named ''header_.jpg'' and should be placed in the ''images'' folder. The dimensions of the header has to be 610x89 pixels (narrow), 754x89 pixels (medium) or 987x89 pixels (wide). ===== Sidebar ===== Every [[:namespaces|namespace]] can have its own sidebar. Simply add a page called ''sidebar.txt''((The name of the file can be customized in configuration.)). If no sidebar is found in the current namespace, the sidebar of the parent namespace will be used. If there is no sidebar page in the namespace hierarchy, the index will be used. For example you want a sidebar for namespace ''faq'', you create a 'sidebar.txt' file in folder ''faq''. Alternatively, you can just edit ''faq:sidebar'' through DokuWiki. With the 2011-01-18 version there is a new configuration option 'minima_main_sidebar'. When selected the root sidebar will always be shown in addition when showing a page in a namespace other than the root that also has a sidebar. The sidebar can be either on the left or the right. The default is on the right. This can be changed using the [[plugin:config|configuration manager]]. ===== Tabs ===== This is a unique feature of this template. All pages of a namespace can have tabs on the top linking to other pages in the same namespace. This is useful to group pages that belong together and allows easy switching between them. To activate this feature, just create a page called ''tabs''((Can be customised in configuration.)) in your namespace and add a few internal links to pages in the same namespace. All pages of this namespace will now have these links as tab. If there is a header in the ''tabs'' page, this will shown above the tabs to identify the namespace. ===== Translations ===== ==== Japanese ==== ''/lang/ja/settings.php'' ==== 正體中文 ==== ''/lang/zh-tw/settings.php'' ===== Wikis Using this Template ===== * [[http://www.dkriesel.com|dkriesel.com]] (uses minima with a few customizations) * [[http://www.whokilleddesign.org|Who Killed Design?]] * [[http://lavenko.ikso.net|Funny pictures of "Esperanto" signs]] * [[http://proyectos.boksar.info|Gustavo Boksar's Projects wiki]] * [[http://www.kgareth.com|kgareth.com]] * [[http://translate.sourceforge.net/wiki|Pootle & Translate Toolkit]] * [[http://scideralle.org/wiki|Scideralle]] * [[http://homepage.univie.ac.at/erich.neuwirth/php/dokuwiki/doku.php|Erich Neuwirth]] * [[http://terredadeles.org/wiki|Terre d'ADELES]] * [[http://magi.bounceme.net|Magi Wiki]] * [[http://caidorset.org.uk|Citizens Advice in Dorset]] (customised version) ===== Changelog ===== * **2014-04-30** * Compatibility * Changes to comply with DokuWiki 2013-12-08 "Binky". * CSS changes to use Less variables. * **2014-04-27** * Compatibility * Changes to comply with DokuWiki 2012-10-13 "Adora Belle". * DOKU_TPL/DOKU_TPLINC changed to tpl_basedir()/tpl_incdir(). * CSS changes for TOC and search results. * Display * Message area moved to after breadcrumbs. * Empty tabs line not shown. * **2011-01-18** * Compatibility * CSS changes to comply with DokuWiki 2009-12-25c “Lemming”. * Revert button added to command list. * Changes to layout to work around problems with Interner Explorer (IE7 and earlier may not fill the sidebar completely). * Display * Section headers in Configuration Settings changed to have single colour background. * Media Manager * Media Manager changed to comply with DokuWiki 2008-05-05. * Sidebar * Sidebar processing now drops empty entries completely (necessary for Internet Explorer up to IE8). * New configuration option 'minima_main_sidebar' to always show main sidebar. * **2006-11-19** * Improved for DokuWiki 2006-11-06 * Blog Plugin tweak is no longer necessary * 3 layout widths and 6 color schemes to choose from * Sidebar can be on the left or on the right * New tabs feature: just create internal links in '':tabs'' * Some smaller style enhancements * **2006-03-21** * Fixed broken sidebar layout: sidebar headings must have ''clear:none''! * **2006-03-10** * Initial release ===== Discussion ===== ==== Version 2011-01-18 ==== Please add any comments, suggestion or questions regarding the 2011-01-18 version of the template here. Please also sign your comments using the toolbar button. --- [[don@lynsoft.co.uk|Don Bowman]] //2011/01/18 13:45// ---- ==== User Manager Page ==== When user information is wider than the margins set through configuration, the user manager goes outside the bounds and into the sidebar. Is it possible to make the fields wrap text? I know it is a challenge for things like email. Adding a scrollbar, while not pretty, would remedy this problem. Add a long email address and long user First and Last name to see the problem. --- //[[user>vice|vice]] 2011-5-26// --- ==== Layout regression issue ==== Deleting the main div close and reopen around line 85 or so in main.php un-breaks the layout. - -
Unless, of course, there is some advantage to having a strange white bar over the side bar. --- [[user>alex.forencich]] //2011/02/04 03:26// >I am a little puzzled by this comment. I have tested this in Opera, Firefox and IE8 and none of them show a 'strange white bar' over the side bar either with or without the breadcrumbs. Earlier versions of IE possibly have problems. What browser and version are you using and also what DokuWiki version are you using? --- [[user>donbo|Don Bowman]] //2011/02/06 22:48// >>I see the white bar too. But only when I am viewing a page for in a directory which there is a tabs.txt file defined. Deleting the two lines above fixes the "strange white bar over the side bar." Dokuwiki: Release 2010-11-07 "Anteater" with latest Minima template as per date of sign. Firefox 3.6.13 (Ubuntu Linux) [[user>charles.minto|Charles Minto]] //2011/02/09 13:27// >As you say, the problem seems to occur when viewing a page in a namespace where there is a tabs file defined, but there are no valid links to be displayed (see [[#Tabs]] for the details), although in my case it is not white but the background colour of the tabs. Changing the code to avoid showing an empty tabs bar has cured this. At one stage there was some code between the two lines in question that got moved or deleted. They are no longer necessary and will be deleted in the next version. --- [[user>donbo|Don Bowman]] //2011/02/10 00:17// ==== Color problem ==== I got the message "Could not set correct style.ini file for your chosen color scheme." in top of the display. I tried to change "theme color" in style.ini from _purple to other colors, but except for blue the error message persisted. ---- [[hjort16@gmail.com|Hjort16]] 2007-03-31 > Read the footnotes well since it explains the solution for your problem. The Web-Server needs write-access for this to get to work... >> additionally, if you use the multitemplate plugin, you'll need to add "global $DOKU_TPLINC;" in functions.php::tpl_checkColor(). If you don't, you will get the same error. ==== IE Bug ==== IE doesn't support the CSS2 :after property and display gets quite messed up when content spans past the page width. Not that I use IE, but I work for a company where standards compliance includes cross-browser compatibility. if not for this flaw this would be a perfect template. > CSS2 is a recognized web standard and supported by all modern browsers. The column layout simply won't work as it should without that :after property, sorry! --- //[[wikidesign@gmail.com|Esther Brunner]] 2006-11-19 09:49// >> Does it mean that there is NO way to use this template with Internet Explorer? A proper answer would save me long hours of tweaking... thank you! >>> I have been trying to fix the afterproperty with [[http://dean.edwards.name/IE7/]] but without success. I do not like to say so, since I like Esthers template very much, but maybe [[http://www.chimeric.de/projects/dokuwiki/template/arctic]] may be an alternative for you, as far as I can see it is IE compatible. I do agree with Esther that IE CSS2 support sucks... ==== Sidebar ignores authentication ==== On DokuWikis with ACL on, users without access permissions still can see the full DokuWiki index in the sidebar. > I have a patch for that: --- minima-original/tplfn_sidebar.php 2006-02-03 00:47:06.000000000 +0100 +++ minima/tplfn_sidebar.php 2006-08-10 17:09:56.076901315 +0200 @@ -56,8 +56,11 @@ print p_wiki_xhtml($ID,$REV,false); } else { - global $IDX; - html_index($IDX); + global $IDX; + // Add an authentification check before displaying the index + if (auth_quickaclcheck($IDX)) { + html_index($IDX); + } } // restore globals --- //[[thierry.goubier@gmail.com|Thierry Goubier]] 2007-07-12 10:33// But now, minima adds "1" to the right of the buttons at the end of a page, and at the end of the sidebar too? (Got worse with the latest version of DokuWiki) ==== Sidebar is shown when printing ==== There is an error in the last line of print.css: #sidebar {display:none} should be .sidebar {display:none} ==== Is index and search are disabled then is still shows a bullet ==== If this bothers you, then it is fixed by changing in main.php around line 96 the code
with
--- //[[horvat77@gmail.com|Martin Horvat]] 2008-1-15// ==== Home Page ==== When you click on any namespace on the sidebar, the index of the namespace appears both on the sidebar and as the main content. This is redundant. Is it possible to change this so that the indexing of the namespace appears only in the sidebar and a home page for the particular namespace appears as the main content? ==== Compatibility ==== Has anyone tried this template with Adora Belle? --- //[[charles.minto@gmail.com|Charles Minto]] 2012-10-28 10:45// I have, it needs a little work to be perfect. Specifically, formatting of the TOC. --- [[user>vice|Rob Vice]] //2012/10/28 02:41// Not compatible with Binky. Missed the minima's logo. It appears that there is an issue in main.php at this piece of code.
--- [[tony.steiner@gmx.com|Tony Steiner]]