Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
TWiki Skins | ||||||||
Line: 245 to 245 | ||||||||
The full skin path is built up as follows: SKIN setting (or ?skin if it is set), then COVER setting is added, then ?cover . | ||||||||
Added: | ||||||||
> > |
Conditional Skin ActivationTWiki skins can be activated conditionally using IfStatements. For example, you might want to use a mobile skin for iPhone and Android user agents, and the default skin otherwise. This example uses the print skin on iPhone and Android:
* Set SKIN = %IF{ "'%HTTP{"User-Agent"}%'~'*iPhone*' OR '%HTTP{"User-Agent"}%'~'*Android*'" then="print, pattern" else="topmenu, pattern" }% | |||||||
Hard-Coded Skins |