---+!! <nop>%TOPIC% <!-- * Set SHORTDESCRIPTION = Lets you set the current skin by using a cookie --> %SHORTDESCRIPTION% %TOC% ---++ Introduction By setting a cookie like =SetSkin=collaborganize= you can change your current displayed sking accordingly. This plugins supports diffrent modes, so you can add the skin or skins addded by the cookie to the skin-list which is present right now, or you simply overwrite all other settings and force this skin to be used in any cases. ---++ USAGE You can define the Cookie-Name which should be used to set the skin in the configuration center ( bin/configure ), by default this is *SetSkin*. If you prefix the follwing things, you can switch between the modes described in the introduction | *Prefix* | *Meaning* | | < | *Add* the defined skin or skin list to the current skin list, but on the *left* side. %BR%. This means, the *SetSkin* skins will be used in a higher priority | | > | *Add* the defined skin or skin list to the current skin list, but on the *right* side. %BR%. This means, the *SetSkin* skins will be used in a lower priority | | _no prefix_ | Overwrite the current skin settings and force the SetSkin to be the only one | *Expamples*: Your *current skin* would be +SKIN="nat, pattern"* %BR% <blockquote> * SetSkin = "<collaborganize" * *Result*: SKIN = "collaborganize, nat, pattern" * SetSkin = ">collaborganize" * *Result*: SKIN = "nat, pattern, collaborganize" * SetSkin = "collaborganize" * *Result*: SKIN = "collaborganize" </blockquote> *Hint*: This also overrules the parameter &skin= ! ---++ Plugin Settings * you need to set the CookieName in the Foswiki configure-system ---++ Plugin Installation Instructions * just use the installer attached to the topic or even easier, use the configure-system/Extension to easy install it trough an user-interface ---++ Plugin Info | Plugin Author: | Foswiki:Main.MayerEugen | | Copyright: | © 2006, Impressive.media | | License: | GPL ([[http://www.gnu.org/copyleft/gpl.html][GNU General Public License]]) | | Plugin Version: | 21 Jan 2009 (V0.2) | | Change History: | <!-- versions below in reverse order --> | | 21 Jan 2009: | Setting skin by prefrence now, instead of internal call | | 20 Jan 2009: | Initial version | | Foswiki Dependency: | | | CPAN Dependencies: | HTTP::Cookies::Find | | Other Dependencies: | | | Perl Version: | 5.005 | | Add-on Home: | http://foswiki.org/Extensions/%TOPIC% | | Feedback: | http://foswiki.org/Extensions/%TOPIC%Dev | | Appraisal: | http://foswiki.org/Extensions/%TOPIC%Appraisal | __Related Topics:__ %META:FIELD{name="ModificationPolicy" attributes="" title="ModificationPolicy" value="PleaseFeelFreeToModify"}%
Form definition 'PackageForm' not found
PackageForm
edit
TopicClassification
PluginPackage
Compatibility
DemoUrl
http://
DevelopedInSVN
Yes
This topic: System
>
SetSkinByCookiePlugin
Topic revision:
02 Nov 2013,
UnknownUser
(raw view)
Copyright © CC-BY-SA by the contributing authors. All material on this collaboration platform is copyrighted under CC-BY-SA by the contributing authors unless otherwise noted.
Ideas, requests, problems regarding Foswiki?
Send feedback