DokuWiki

It's better when it's simple

User Tools

Site Tools


template:arctic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
template:arctic [2019-01-29 22:52] chrisisbdtemplate:arctic [2023-09-01 16:27] (current) Klap-in
Line 5: Line 5:
 author        : Michael Klier, Samuel Fischer author        : Michael Klier, Samuel Fischer
 email         : sf@notomorrow.de email         : sf@notomorrow.de
-lastupdate    : 2016-09-16 +lastupdate    : 2020-08-22 
-Compatible    : 2015-08-10 2009-02-14 2009-12-25 2010-11-07 2011-05-25 2011-11-10, 2012-09-10, 2012-01-25, 2012-10-13,2013-12-08,2013-05-10,2014-05-05,2014-09-29,2016-06-26,2017-02-19+Compatible    : 2015-08-10 2009-02-14 2009-12-25 2010-11-07 2011-05-25 2011-11-10, 2012-09-10, 2012-01-25, 2012-10-13,2013-12-08,2013-05-10,2014-05-05,2014-09-29,2016-06-26,2017-02-19,2018-04-22,2020-07-29
 depends       :  depends       : 
 conflicts     :  conflicts     : 
Line 526: Line 526:
 <file /lib/tpl/arctic/sidebars/translation/sidebar.php> <file /lib/tpl/arctic/sidebars/translation/sidebar.php>
 <?php                                                                                                                                             <?php                                                                                                                                            
-$translation = &plugin_load('helper','translation'); +$translation = plugin_load('helper','translation'); 
-if ($translation) echo $translation->showTranslations(); +if ($translation) 
 +    echo $translation->showTranslations(); 
 +}
 </file> </file>
  
Line 607: Line 608:
   * Midori (0.2.6 OpenBSD)   * Midori (0.2.6 OpenBSD)
   * Iceweasel   * Iceweasel
 +  * Microsoft Edge Ver. 115.0.1901.203 (oficial) (64 bits)
 ===== Translations ===== ===== Translations =====
 The configuration settings descriptions still need to be translated to other languages. If you like to help, send the translation of the below files (the file needs to be UTF-8 encoded). The configuration settings descriptions still need to be translated to other languages. If you like to help, send the translation of the below files (the file needs to be UTF-8 encoded).
Line 650: Line 652:
 Some of the Ideas are taken from the other great [[:templates|DokuWiki templates]]. Furthermore a big "**Thank you!**" to the great DokuWiki team for your very good looking and well structured default template and this cool Wiki! Some of the Ideas are taken from the other great [[:templates|DokuWiki templates]]. Furthermore a big "**Thank you!**" to the great DokuWiki team for your very good looking and well structured default template and this cool Wiki!
 ===== Sites using this Template ===== ===== Sites using this Template =====
 +
 Add yours here: Add yours here:
-  * [[http://bibliopedia.ptcvic.org]] -- great template. Shame someone doesn't write a decent add new page plugin. +
-  * [[http://freenaswiki.ru/|FreeNAS Wiki.ru]] -- A website about [[http://www.freenas.org/|FreeNAS]] Server (almost completely written in Russian) +
-  * [[http://www.quantum-measurement-and-control.org/|Quantum Measurement and Control]] -- A website about a book on quantum measurement and quantum feedback control, many thanks for the template. +
-  * <del>[[http://neuroanalysis.org/wiki/|STAToolkit Wiki]] -- Our sincerest appreciation for a wonderful template!</del> +
-  * [[http://thecoffeespoon.net/battlestations/]] - MWBS Wiki +
-  * <del>[[http://www.luizgustavo.pro.br]] -- The best of template for DokuWiki</del> +
-  * [[http://blobseer.gforge.inria.fr]]+
   * [[http://samuele.netsons.org]]   * [[http://samuele.netsons.org]]
-  * [[http://www.gregow.se]] 
-  * [[http://izotretin.pl/wiki|Polish wiki about Accutane (isotretinoin)]]   
-  * <del>[[http://www.shambhala-toulouse.fr]] -- thanks you for your great template ^_^</del> 
-  * [[http://www.bridgeclub-grunewald.de/]] -- Etwas Bastelarbeit war nötig. Aber ^_^ 
-  * [[http://www.gerion.pl/dokuwiki/doku.php]] -- polish site of RPG fans (Earthdawn) 
-  * [[http://www.rollberg.de|Der Rollberg]] -- Eine Webseite über den Neuköllner Norden 
-  * [[http://cdli.ucla.edu/wiki/|CDLI-Wiki]] -- Cuneiform Digital Library Initiative, University of California, Los Angeles 
-  * [[http://www.hodique.info/]], personal and professional website of Yann Hodique 
-  * [[http://www.chennaibus.info]] -- A website on complete information on an Indian City, Chennai - Bus Routes on web and mobile. 
-  * [[http://www.chennaitrain.info]] -- A website on complete information on an Indian City, Chennai - Train Timings on web and mobile. 
-  * [[http://www.TheFreyers.net]] -- personal and professional website of Chris Freyer 
-  * [[http://Zlotnik.ScienceOnTheWeb.Net]] -- prof. Alexander Zlotnik's homepage (mostly in Russian) 
-  * [[http://tooyi.net/noki/|wiki.tooyi.net]] --中国(简体)信长之野望online百科 
-  * [[http://informatica.temuco.udelmar.cl/~lmachuca/dokuwiki-lucho/]] -- my website, development of plugins for DokuWiki, and some personal stuff. 
-  * [[http://www.seirios.org/~seirios/dokuwiki/]] -- Web site of "ほほほのほ" for Technical and other memos Wiki in Japan. 
-  * [[http://www.envirolaw.org.au/]]  
   * [[http://complex.if.uff.br|Complex Systems]] - Complex Systems Research Group website, Universidade Federal Fluminense, Niterói,  Brazil   * [[http://complex.if.uff.br|Complex Systems]] - Complex Systems Research Group website, Universidade Federal Fluminense, Niterói,  Brazil
-  * [[http://folkipedia.org|Folkipedia]] - Folk and Tradition Wiki 
-  * [[http://www.pythongamebook.com]] - Book about python game programming 
-  * [[http://wiki.nagios-fr.org]] -- Nagios French Community Wiki 
-  * [[http://www.xj3.nl/dokuwiki|www.xj3.nl]] - small cooperation of engineers 
-  * [[http://www.spielend-programmieren.at]] - Game programming courses for young people, Vienna, Austria 
-  * [[http://www.madesimple.de/inkasso-kochbuch]] - Das Inkasso-Kochbuch der Anwaltskanzlei Lueneberg. 
   * [[http://www.mgv-hochmoessingen.de/]] - Homepage of a choral society - **THX to Che** this is a very good template for CMS   * [[http://www.mgv-hochmoessingen.de/]] - Homepage of a choral society - **THX to Che** this is a very good template for CMS
-  * [[http://wiki.mausebande.com]] - German wiki about mice 
-  * [[http://doctoryoo.pe.kr]] - Korean wiki, modified. 
-  * [[http://openwrt.pl]] - Polish Wiki about OpenWrt Project 
-  * [[http://www.unipoly.ch]] - Student Association for Sustainable Development  
-  * [[http://bash-hackers.org/wiki]] - Wiki about the GNU Bash shell. Relatively simple/plain configuration of the Arctic template 
-  * [[http://www.yake.org]] - Project site for the cross-platform game/simulation engine 
-  * [[http://www.wurzelwerkerinnen.at]] - Dear Michael, Thx for your work !!! Wonna buy y one ore more coffees ;-) 
   * [[http://wiki.vehtoh.de]] - a semi-private, outsourced Brain (powerd by Dokuwiki and your great (little bit modified) template ;), feel free to contact me for the coffee!!!   * [[http://wiki.vehtoh.de]] - a semi-private, outsourced Brain (powerd by Dokuwiki and your great (little bit modified) template ;), feel free to contact me for the coffee!!!
-  * [[http://weidewiki.org]] - Das Portal rund um Weideprodukte in Deutschland, Luxemburg, Österreich und der Schweiz bedankt sich für das Template! 
-  * [[http://wiki.miiconsola.com]] - MiiConsola Wiki (Spanish). Videogames, consoles, tournaments, etc. 
-  * [[http://baum.petermansfeld.de]] - Hugo Baum - eine Biographie 
-  * [[http://qcake.unkompliziert.org]] - QCake, the Game Maker - 3d software 
-  * [[http://trow.cc/wiki/]] - T.R.O.W. Wiki(简体中文) - <del>fantasy style theme</del> Parchment Style(merged with our [[http://trow.cc/forum/|forum]]) 
   * [[http://www.seiichiro0185.org/]] My private Homepage about Linux and Tech stuff - arctic with some modifications through userstyle.css - Thanks for dokuwiki and this great template! -   * [[http://www.seiichiro0185.org/]] My private Homepage about Linux and Tech stuff - arctic with some modifications through userstyle.css - Thanks for dokuwiki and this great template! -
-  * [[http://trace-libre.net|Trace Libre]] : blog of a research in information and communication science. I always have a problem with dates of posts (I can't make a reindexation every time I change a namespace), but this template makes me happy, thanks ! :-D 
-  * [[http://www.artduweb.com|Art du web]] - Wiki collaboratif consacré à l' Administration Système et Réseaux 
-  *  <del> [[http://cheaterwiki.pl/|Cheater WIKI]] - Polish website dedicated to game cheats.</del> not availabe Oct 2015 
-  * [[http://www.lingue.at|lingue.at]] - private homepage with some minor changes in the arctic template. Thx!! 
-  * [[http://www.j-chkmail.org|www.j-chkmail.org]] - the web site of //j-chkmail// spam filter 
-  * [[http://www.tobanet.de|www.tobanet.de]] - uses the "Debian Red Style" and is all about system administration, focussing on (Debian) Linux for the most part  
-  * [[http://duanshu.org|http://duanshu.org]] - 短书-5分钟读完一本书 
   * [[http://www.symbolic-link.org/schifffahrtwiki]] - Eine Site über Schiffe und Museen   * [[http://www.symbolic-link.org/schifffahrtwiki]] - Eine Site über Schiffe und Museen
 +
 ===== FAQ ===== ===== FAQ =====
  
Line 845: Line 802:
 <code php> <code php>
 //dw2pdf //dw2pdf
-if(!plugin_isdisabled('dw2pdf') && (!is_null(plugin_load('action', 'dw2pdf')))) {+if(!plugin_isdisabled('dw2pdf') && plugin_load('action', 'dw2pdf'instanceof PluginInterface) {
     print '<a class="action" href="' . exportlink($ID, 'pdf') . '"><img src="' .  DOKU_BASE . 'lib/images/fileicons/pdf.png" alt="PDF Export" />&nbsp;PDF Export</a>' . DOKU_LF;     print '<a class="action" href="' . exportlink($ID, 'pdf') . '"><img src="' .  DOKU_BASE . 'lib/images/fileicons/pdf.png" alt="PDF Export" />&nbsp;PDF Export</a>' . DOKU_LF;
 } }
 //dw2pdf Ende //dw2pdf Ende
 //bookcreator //bookcreator
-if(!plugin_isdisabled('bookcreator') && (!is_null(plugin_load('action', 'bookcreator')))) {+if(!plugin_isdisabled('bookcreator') && plugin_load('action', 'bookcreator'instanceof PluginInterface) {
     print '<a class="action" href="' .  DOKU_BASE . 'doku.php?do=addtobook&id='.$ID.'"><img src="' .  DOKU_BASE . 'lib/plugins/bookcreator/images/smallbook.png" alt="add to book" />&nbsp;Add to book</a>' . DOKU_LF;     print '<a class="action" href="' .  DOKU_BASE . 'doku.php?do=addtobook&id='.$ID.'"><img src="' .  DOKU_BASE . 'lib/plugins/bookcreator/images/smallbook.png" alt="add to book" />&nbsp;Add to book</a>' . DOKU_LF;
 } }
Line 868: Line 825:
 <code>array_unshift($path, ''); <code>array_unshift($path, '');
 array_pop($path);</code>This will add an empty element to the array, so the lookup for a "sidebar" page in the wiki's root won't be skipped anymore, and removes the imho unnecessary lookup for "my:ns:foo:sidebar". array_pop($path);</code>This will add an empty element to the array, so the lookup for a "sidebar" page in the wiki's root won't be skipped anymore, and removes the imho unnecessary lookup for "my:ns:foo:sidebar".
 +
 ==== Language-dependent right sidebar ==== ==== Language-dependent right sidebar ====
  
 Furthermore, I want to show localized versions of the right sidebar also. Is that possible? I don't really see a way without messing with the template code itself ... Thanks for your answers! Furthermore, I want to show localized versions of the right sidebar also. Is that possible? I don't really see a way without messing with the template code itself ... Thanks for your answers!
 +
 ==== Minimize sidebar? ==== ==== Minimize sidebar? ====
  
Line 1110: Line 1069:
 there are a lot of .txt files in a namespace it can be far from obvious which is the 'most there are a lot of .txt files in a namespace it can be far from obvious which is the 'most
 important' one. important' one.
 +
 +===== I can't get the width to change =====
 +
 +I have edited <my dokuwiki root>/lib/tpl/arctic/style.ini to set the width:-
 +
 +__wiki_width__     = "95%"
 +
 +... and I have touched <my dokuwiki root>/conf/local.php (and I've also done CTRL/SHIFT/R) but
 +to no avail.  My arctic template stays obstinately at 84%.
 +
 +So what am I doing wrong?
 +
 +> ... and the answer is the width is also set in the Template style admin settings and that value overrides whats in style.ini
template/arctic.1548798752.txt.gz · Last modified: 2019-01-29 22:52 by chrisisbd

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki