The pub/skins/skin/skin.php file is included from within a function so
you must define the variable as global:
global $EnableGUIButtons;
$EnableGUIButtons = 1;
On 2015-03-13 15:18, michael paulukonis wrote:
Is there some reason that GuiButtons cannot be setup in a skin.php
file?
On a local installation I have, with a custom skin, I could not get
this to
work.
The ultimate goal is to have some skin-specific edit buttons, providing
markup that only works with the skin.
If I put the GuiButton markup into config.php it works.
Putting it into skin.php and nothing seems to happen (no errors that I
can
see, but no output, either).
I moved $EnableGuiButtons = 1; to precede the skin setup, but that had
no
effect.
Markup that I have defined in skin.php works just fine. What am I
missing?
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users