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 [2015-11-18 11:44] – [Admin way: Specify templates per namespace/page] - state default rule 141.61.181.2plugin:loadskin [2023-10-31 00:08] (current) Klap-in
Line 6: Line 6:
 email      : anika@selfthinker.org email      : anika@selfthinker.org
 type       : action admin helper type       : action admin helper
-lastupdate : 2015-05-05 +lastupdate : 2017-01-15 
-compatible : Ponder StibbonsWeatherwax, Adora Belle, Angua2011-05-25 "Rincewind"2010-11-07 "Anteater"2009-12-25 "Lemming"2009-02-142008-05-05Binky"Ponder Stibbons"Hrun+compatible : LemmingAnteater, Rincewind, Angua, Adora Belle, WeatherwaxBinkyPonder StibbonsHrunDetritusElenor of TsortFrusterick MannersGreeboHogfather, 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 61: Line 63:
 ^''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]]) | ^''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 71: 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 [[template: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 88: Line 82:
 ===== Changelog ===== ===== Changelog =====
  
-A complete changelog is available [[http://github.com/selfthinker/dokuwiki-plugin-loadskin/commits/|here]].+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}} {{rss>https://github.com/selfthinker/dokuwiki-plugin-loadskin/commits/master.atom date}}
Line 95: Line 89:
  
 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.1447843499.txt.gz · Last modified: 2015-11-18 11:44 by 141.61.181.2

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