DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:loadskin

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
plugin:loadskin [2013-03-31 19:27] – moved discussion to its own page achplugin:loadskin [2023-10-31 00:08] (current) Klap-in
Line 1: Line 1:
-====== Plugin Loadskin ======+====== Loadskin Plugin ======
  
 ---- plugin ---- ---- plugin ----
Line 6: Line 6:
 email      : anika@selfthinker.org email      : anika@selfthinker.org
 type       : action admin helper type       : action admin helper
-lastupdate : 2013-03-31 +lastupdate : 2017-01-15 
-compatible : Weatherwax, Adora Belle, Angua2011-05-25 "Rincewind"2010-11-07 "Anteater"2009-12-25 "Lemming"2009-02-142008-05-05+compatible : Lemming, Anteater, Rincewind, Angua, Adora Belle, WeatherwaxBinkyPonder StibbonsHrunDetritusElenor of Tsort, Frusterick Manners, Greebo, Hogfather, Igor, Jack Jackrum
 depends    :  depends    : 
 conflicts  conflicts 
 similar    :  similar    : 
 tags       : template, skin, theme tags       : template, skin, theme
 +
 downloadurl: https://github.com/selfthinker/dokuwiki-plugin-loadskin/tarball/master downloadurl: https://github.com/selfthinker/dokuwiki-plugin-loadskin/tarball/master
 bugtracker : https://github.com/selfthinker/dokuwiki-plugin-loadskin/issues bugtracker : https://github.com/selfthinker/dokuwiki-plugin-loadskin/issues
Line 19: Line 20:
 ===== Download and Installation ===== ===== Download and Installation =====
  
-Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the URL given above. Refer to [[:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
-**:!: Important :!:** If your DokuWiki is older than Angua or if the templates you are using it with are not up-to-date((i.e. if a template's code contains the ''DOKU_TPL'' or ''DOKU_TPLINC'' constant)), you have to make the following small change to DokuWiki's source code. Otherwise you might get partially (or completely) blank pages.+**:!: Important :!:** 
 +If your DokuWiki is older than Angua or if the templates you are using it with are not up-to-date((i.e. if a template's code contains the ''DOKU_TPL'' or ''DOKU_TPLINC'' constant)), you have to make the following small change to DokuWiki's source code. Otherwise you might get partially (or completely) blank pages.
  
 Remove (or comment) the following lines in ''<dokuwiki>/inc/init.php'': Remove (or comment) the following lines in ''<dokuwiki>/inc/init.php'':
Line 46: Line 48:
 ==== Admin way: Specify templates per namespace/page ==== ==== Admin way: Specify templates per namespace/page ====
  
-{{  :plugin:plugin_loadskin_admin.png?direct&200}} The plugin comes with an admin component you'll find in the admin menu. Use it to specify the templates to be used for different wiki pages or namespaces.+{{  :plugin:plugin_loadskin_admin.png?direct&200}} The plugin comes with an admin component you'll find in the admin menu. Use it to specify the templates to be used for different wiki pages or namespaces. Pages not covered by one of these rules will still use the template specified by the template variable in the admin interface.
  
 ==== User way: Select template for whole wiki ==== ==== User way: Select template for whole wiki ====
Line 60: Line 62:
 ^''mobileTemplate''  | Mobile template (if showing mobile template switcher) | ^''mobileTemplate''  | Mobile template (if showing mobile template switcher) |
 ^''preferUserChoice''| Prefer user's template choice over admin's choice (turn this off to let the admin's choice have the preference) | ^''preferUserChoice''| Prefer user's template choice over admin's choice (turn this off to let the admin's choice have the preference) |
 +^''inheritInTranslations''| Inherit template choice per namespace inside a language namespace (when using the [[plugin:translation|translation plugin]]) |
 +^''allowInAdmin''    | Allow template choice to persist in admin section ((By default the admin section would otherwise always show the one template you selected in the configuration manager. With this option enabled you can go to a page with a different template (or select one from the template switcher) and then go to the admin section and it will show in that template which means you can configure it.)) |
  
 The template switcher is automatically put before the wiki content. If you like to put it somewhere else (e.g. near the login button or into the sidebar), you need to switch ''automaticOutput'' and put the following code into your template to wherever you like to display it: The template switcher is automatically put before the wiki content. If you like to put it somewhere else (e.g. near the login button or into the sidebar), you need to switch ''automaticOutput'' and put the following code into your template to wherever you like to display it:
Line 70: Line 74:
 </code> </code>
  
-The styling which come with the plugin will suit most templates when it's automatically put before the wiki content. One exception is the new default [[tpl:dokuwiki|'dokuwiki' template]]. You should add the following to the template's styles to make it not overlap with the TOC: +The styling which come with the plugin will suit most templates when it's automatically put before the wiki content. But some templates might need a little help with [[devel:css#user styles]].
- +
-<code css> +
-.dokuwiki .plugin_loadskin { +
-    margin: -1em -1em 2em 0; +
-+
-[dir=rtl] .dokuwiki .plugin_loadskin { +
-    margin: -1em 0 2em -1em; +
-+
-</code>+
  
 ===== Cookies ===== ===== Cookies =====
Line 86: Line 81:
  
 ===== Changelog ===== ===== Changelog =====
-A complete changelog is available [[http://github.com/selfthinker/dokuwiki-plugin-loadskin/commits/|here]]. 
  
-{{rss>http://github.com/feeds/selfthinker/commits/dokuwiki-plugin-loadskin/master 10 1d date}}+A complete changelog is available [[https://github.com/selfthinker/dokuwiki-plugin-loadskin/commits/|here]]. 
 + 
 +{{rss>https://github.com/selfthinker/dokuwiki-plugin-loadskin/commits/master.atom date}}
  
 ===== Discussion ===== ===== Discussion =====
  
 You can report any issues on the [[https://github.com/selfthinker/dokuwiki-plugin-loadskin/issues|issue tracker]] and discuss anything on the separate [[plugin:loadskin:discussion]] page. You can report any issues on the [[https://github.com/selfthinker/dokuwiki-plugin-loadskin/issues|issue tracker]] and discuss anything on the separate [[plugin:loadskin:discussion]] page.
- 
plugin/loadskin.1364750831.txt.gz · Last modified: 2013-03-31 19:27 by ach

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