[pmwiki-users] Wikifarm + skinchange + $Skin problem
Patrick R. Michaud
pmichaud at pobox.com
Tue Aug 2 16:43:09 CDT 2005
On Tue, Aug 02, 2005 at 05:32:50PM -0400, Bronwyn Boltwood wrote:
> On my wikifarm, I keep the invocation for the skinchange recipe and
> its array of skins in farmconfig.php. Today, I found that when I set
> $Skin for a field in its config.php, that it disables the skinchange
> recipe for that field.
Well, technically it doesn't "disable" skinchange, it just overrides
it.
> I want to set the default skin for each field separately, but allow it
> to be changed by the skinchange recipe. I also want to keep the
> skinchange invocation stuff in farmconfig.php. How can I do this?
In the field, use
SDV($Skin, 'fieldskin');
which will set the $Skin for the field only if one hasn't already
been set (by skinchange.php).
Pm
More information about the pmwiki-users
mailing list