| Download | broken minima.zip (360 KB) |
|---|
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 2008/05/31 16:47
This can now be downloaded as a zip or as a tgz. — Don Bowman 2009/04/03 23:18
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 configuration manager1) or copy and rename the color scheme of your choice manually to style.ini.
You can easily replace the background graphic to give your wiki an individual look. The graphic has to be named header_<color>.jpg and should be placed in the images folder. The dimensions of the header has to be 610×89 pixels (narrow), 754×89 pixels (medium) or 987×89 pixels (wide).
Every namespace can have its own sidebar. Simply add a page called sidebar.txt2). 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.
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 tabs3) 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.
<namespace>:tabsclear:none!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 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 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! — 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…
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 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)
There is an error in the last line of print.css:
#sidebar {display:none}
should be
.sidebar {display:none}
If this bothers you, then it is fixed by changing in main.php around line 96 the code
<hr />
<?php if (tpl_getConf('showsiteactions')){?>
<ul>
<li><div class="li"><?php tpl_actionlink('index')?></div></li>
<li><div class="li"><?php tpl_actionlink('recent')?></div></li>
</ul>
<?php }?>
with
<?php if (tpl_actionlink('index') || tpl_actionlink('recent')) {?>
<hr />
<?php if (tpl_getConf('showsiteactions')){?>
<ul>
<li><div class="li"><?php tpl_actionlink('index')?></div></li>
<li><div class="li"><?php tpl_actionlink('recent')?></div></li>
</ul>
<?php }?>
<?php }?>
— Martin Horvat 2008-1-15
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?