[pmwiki-users] guibuttons in skin.php
Dominique Faure
dominique.faure at gmail.com
Fri Mar 13 12:38:18 CDT 2015
Hi,
> I moved $EnableGuiButtons = 1; to precede the skin setup, but that had no
> effect.
When dealing with skins, you have to remember that the skins code
itself (ie. the {$Skin}.php or skin.php file) is included from within
a function call, therefore most of PmWiki's global variables aren't
available without a preceding global declaration.
you should add:
global $EnableGuiButtons;
in your code before trying to modify the variable.
--
Dominique
More information about the pmwiki-users
mailing list