[pmwiki-users] skin design and the searchbox
Patrick R. Michaud
pmichaud at pobox.com
Mon Mar 21 07:49:33 CST 2005
On Mon, Mar 21, 2005 at 01:21:59PM +0000, Hans wrote:
> Monday, March 21, 2005, 12:37:06 PM, Hans wrote:
> > One way would be to do a conditional test in the markup, like
> > (:if skin fixflow:)(:searchbox:)(:if:)
> > Perhaps this is already possible? to check a condition against $Skin ?
>
> Well that answer was easy:
> it is possible by putting in local/config.php:
> $Conditions['skin'] = "\$GLOBALS['Skin']==\$condparm";
>
> This is good, but not too desirable, since it adds just another
> thing to install. It does not work from skin.php in the skin folder.
It *should* work from skin.php. Did you remember to do...?
global $Conditions;
Pm
More information about the pmwiki-users
mailing list