SkinChange-Talk

Summary: Talk page for SkinChange.
Maintainer: Petko (original author: Pm)
Users: (View / Edit)

This space is for User-contributed commentary and notes. Please include your name and a date along with your comment.

Note: after PmWiki 2.2.x beta, pages in headers, footers, sidebars needs to use the * to reference the page variable of the page calling the sidebar/header/footer included files: [[{*$Name}?skin=marathon]] etc. This is only used on pages that will be included in other pages when you want to use the variables from the current page, otherwise the $Name is Group/SideBar or Group/GroupHeader

I use the follwing markup to include a form-based skin switcher (of course, this needs to be modified for your own wiki if you don't have a "Skins" page group containing pages named after the skins installed):

(:input form "{$PageUrl}" get:)
(:input hidden action browse:)'''Choose skin:''' (:pagelist fmt=#plcaldropdownlist group=Skins name=-Skins.Skins,{Skins.Skins$:SkinRelated},-PmWikiV1,\
-SkinTest-Compact,-SkinChange,-SkinChanges,-SkinAlternative,-SkinsHeader,\
-SkinConfig,-SkinList,-SkinGuidelines,-SkinsGallery,-PreviewSkins  list=normal wrap=inline:)
(:input submit value="Go":)(:input end:)

(:if false:)
[[#plcaldropdownlist]]
(:input select name=setskin value={(tolower {=$Name} )} label="{(tolower {=$Name} )}":)
[[#plcaldropdownlistend]]
(:ifend:) 

Choose skin:

StefCT, 2014-01-07


Recipe check does not seem to pick up version from website

simon May 20, 2014, at 11:49 PM

Should work now. --Petko November 15, 2017, at 03:50 PM

Talk page for SkinChange (users).