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
Next revisionBoth sides next revision
template:arctic [2016-09-07 11:05] – [Sites using this Template] not using dokuwiki 120.28.98.126template:arctic [2019-01-29 22:52] chrisisbd
Line 1: Line 1:
 ====== Arctic Template ====== ====== Arctic Template ======
--+
 ---- template ---- ---- template ----
 description   : A very customizable sidebar template description   : A very customizable sidebar template
 author        : Michael Klier, Samuel Fischer author        : Michael Klier, Samuel Fischer
 email         : sf@notomorrow.de email         : sf@notomorrow.de
-lastupdate    : 2015-08-19 +lastupdate    : 2016-09-16 
-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+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
 depends       :  depends       : 
 conflicts     :  conflicts     : 
Line 14: Line 14:
  
 sourcerepo    : https://github.com/samfisch/dokuwiki-template-arctic sourcerepo    : https://github.com/samfisch/dokuwiki-template-arctic
-downloadurl   : http://r.notomorrow.de/dokuwiki-template-arctic/pkg/arctic-stable.tgz+downloadurl   : https://github.com/samfisch/dokuwiki-template-arctic/archive/master.zip
 bugtracker    : https://github.com/samfisch/dokuwiki-template-arctic/issues bugtracker    : https://github.com/samfisch/dokuwiki-template-arctic/issues
 donationurl   : # eg. https://www.paypal.com/... donationurl   : # eg. https://www.paypal.com/...
Line 543: Line 543:
 These are the substitutions introduced by the arctic template. These are the substitutions introduced by the arctic template.
  
-^ Replacement ^ Value ^ Description ^ +^ Replacement                    ^ Value            ^ Description                                  
-| ''%%__wiki_width__%%'' | percent/pixel | width of your wiki | +| ''%%__wiki_width__%%''         | percent/pixel    | width of your wiki                           
-| ''%%___wiki_full_width__%%'' | percent/pixel | width of fullscreen elements (mediamanager) | +| ''%%___wiki_full_width__%%''   | percent/pixel    | width of fullscreen elements (mediamanager)  
-| ''%%__header_height__%%'' | percent/pixel | the height of the blue header | +| ''%%__header_height__%%''      | percent/pixel    | the height of the blue header                
-| ''%%__body_margin__%%'' | em/pixel | margin of HTML %%<body>%% | +| ''%%__body_margin__%%''        | em/pixel         | margin of HTML %%<body>%%                    
-| ''%%__page_padding__%%'' | em/pixel | padding around your wiki | +| ''%%__page_padding__%%''       | em/pixel         | padding around your wiki                     
-| ''%%__footer_padding__%%'' | em/pixel | the padding of the footer | +| ''%%__footer_padding__%%''     | em/pixel         | the padding of the footer                    
-| ''%%__font_size__%%'' | em/pixel/pt | the global font size | +| ''%%__font_size__%%''          | em/pixel/pt      | the global font size                         
-| ''%%__line_height__%%'' | percent/em | the global line height | +| ''%%__line_height__%%''        | percent/em       | the global line height                       
-| ''%%__pagename_color__%%'' | hex color value | self-explanatory | +| ''%%__pagename_color__%%''     | hex color value  | self-explanatory                             
-| ''%%__logo_color__%%'' | hex-color | self-explanatory | +| ''%%__logo_color__%%''         | hex-color        | self-explanatory                             
-| ''%%__headline_color__%%'' | hex color value | self-explanatory | +| ''%%__headline_color__%%''     | hex color value  | self-explanatory                             
-| ''%%__body_background__%%'' | hex color value | self-explanatory | +| ''%%__body_background__%%''    | hex color value  | self-explanatory                             
-| ''%%__header_background__%%'' | hex color value | self-explanatory | +| ''%%__header_background__%%''  | hex color value  | self-explanatory                             
-| ''%%__footer_background__%%'' | hex color value | self-explanatory | +| ''%%__footer_background__%%''  | hex color value  | self-explanatory                             
-| ''%%__form_border__%%'' | hex color value | the color of all form borders |+| ''%%__form_border__%%''        | hex color value  | the color of all form borders                |
  
 ^ Screenshot ^ Description ^ ^ Screenshot ^ Description ^
Line 654: Line 654:
   * [[http://freenaswiki.ru/|FreeNAS Wiki.ru]] -- A website about [[http://www.freenas.org/|FreeNAS]] Server (almost completely written in Russian)   * [[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.   * [[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.
-  * [[http://neuroanalysis.org/wiki/|STAToolkit Wiki]] -- Our sincerest appreciation for a wonderful template!+  * <del>[[http://neuroanalysis.org/wiki/|STAToolkit Wiki]] -- Our sincerest appreciation for a wonderful template!</del>
   * [[http://thecoffeespoon.net/battlestations/]] - MWBS Wiki   * [[http://thecoffeespoon.net/battlestations/]] - MWBS Wiki
-  * [[http://www.luizgustavo.pro.br]] -- The best of template for DokuWiki+  * <del>[[http://www.luizgustavo.pro.br]] -- The best of template for DokuWiki</del>
   * [[http://blobseer.gforge.inria.fr]]   * [[http://blobseer.gforge.inria.fr]]
   * [[http://samuele.netsons.org]]   * [[http://samuele.netsons.org]]
   * [[http://www.gregow.se]]   * [[http://www.gregow.se]]
   * [[http://izotretin.pl/wiki|Polish wiki about Accutane (isotretinoin)]]     * [[http://izotretin.pl/wiki|Polish wiki about Accutane (isotretinoin)]]  
-  * [[http://www.shambhala-toulouse.fr]] -- thanks you for your great template ^_^+  * <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.bridgeclub-grunewald.de/]] -- Etwas Bastelarbeit war nötig. Aber ^_^
   * [[http://www.gerion.pl/dokuwiki/doku.php]] -- polish site of RPG fans (Earthdawn)   * [[http://www.gerion.pl/dokuwiki/doku.php]] -- polish site of RPG fans (Earthdawn)
Line 862: Line 862:
  
  
 +[[https://github.com/flohmueller|fmueller]]: I think I could track this issue back to the function call **_getNsSb($id)**, which is called with the current site id as its parameter. This id is split into its segments, the resulting array being used as the starting point to look for "sidebar" pages. 
 +\\ E.g. with a given site id "my:ns:foo" it looks for "my:ns:foo:sidebar", then "my:ns:sidebar", then "my:sidebar"... The first lookup "my:ns:foo:sidebar" is imho debatable, if not completely wrong or unnecessary!  
 +\\ Unfortunately - and a lot worse - it never looks for a "sidebar" page in the wiki's root! 
 +My suggestion is to fix **_getNsSb($id)** by adding two lines before the //while//-loop: 
 +<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".
 ==== Language-dependent right sidebar ==== ==== Language-dependent right sidebar ====
  
Line 1099: Line 1104:
  
 > I have managed it (to some extent) by using ACL. Set ACL rule for page sidebar and user @user to read only > I have managed it (to some extent) by using ACL. Set ACL rule for page sidebar and user @user to read only
 +
 +===== Index in sidebar, doesn't open start.txt =====
 +When using the index in sidebar option clicking on a namespace in the sidebar doesn't open
 +the corresponding start.txt file.  Is it possible to make this happen?  In the case where
 +there are a lot of .txt files in a namespace it can be far from obvious which is the 'most
 +important' one.
template/arctic.txt · Last modified: 2023-09-01 16:27 by Klap-in

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