Comparing revisions for MySkin
- [20575] 2009-05-05 08:45:31 by PezHore (unregistered user) [Added steps taken to fix the MySkin action.]
- [20849] 2009-09-12 07:37:33 by DarTar (unregistered user) [link to blog post]
Additions:
{{lastedit}}
<<Give it a [[TestSkin try]]! (v.1.0)<<
::c::
$this->SetPersistentCookie("wikiskin", $postedskin);
**Note:** This section has moved to ./libs/Wakka.class.php, and the following can be placed after the GetCookie($name) function.
**Updated 5/5/2009 by PezHore:** Corrected the reference of cookie 'skin' to 'wikiskin', and changed the cookie retrieval from $skin = $_COOKIE['wikiskin] to use GetCookie function. Also removed the duplicate functions
<<Give it a [[TestSkin try]]! (v.1.0)<<
::c::
$this->SetPersistentCookie("wikiskin", $postedskin);
**Note:** This section has moved to ./libs/Wakka.class.php, and the following can be placed after the GetCookie($name) function.
**Updated 5/5/2009 by PezHore:** Corrected the reference of cookie 'skin' to 'wikiskin', and changed the cookie retrieval from $skin = $_COOKIE['wikiskin] to use GetCookie function. Also removed the duplicate functions
Deletions:
This page refers to beta functionality supported until Wikka 1.1.x. As of [[Docs:WhatsNew12 version 1.2]] Wikka introduces support for 100%-modular **themes**: check [[Docs:WikkaThemes this page]] for more information or this [[http://blog.wikkawiki.org/2009/09/11/how-to-design-themes-for-wikkawiki/ tutorial]] to learn how to design custom themes.
<<::c::
// begin change by AlexRust - May 28 2009
//$this->SetPersistentCookie("wikiskin", $postedskin);
$this->SetSkin($postedskin);
// end change by AlexRust - May 28 2009
**Note:** This section has moved to ./libs/Wakka.class.php, and the following can be placed after the ""GetCookie($name)"" function.
**Updated 5/5/2009 by PezHore:** Corrected the reference of cookie 'skin' to 'wikiskin', and changed the cookie retrieval from $skin = $_COOKIE['wikiskin] to use ""GetCookie"" function. Also removed the duplicate functions