[pmwiki-users] No GUIButtons

Ian Barton lists at manor-farm.org
Thu Nov 30 06:07:00 CST 2006


I seem to be having a problem getting GUIButtons to appear. I don't use 
them myself, so haven't tried to fix the problem before:)

I am using a Farm setup with the PmWiki files installed in 
/var/lib/pmwiki. My buttons are in /var/lib/pmwiki/pub/guiedit which 
chmod 777.

In my local/config.php I have:

$GUIButtonDirUrlFmt = "/var/lib/pmwiki/pub/guiedit";

$GUIButtons['h2'] = array(400, '\\n!! ', '\\n', '$[Heading]',
                      '$GUIButtonDirUrlFmt/h2.gif"$[Heading]"');

$GUIButtons['h3'] = array(402, '\\n!!! ', '\\n', '$[Subheading]',
                      '$GUIButtonDirUrlFmt/h3.gif"$[Subheading]"');

  $EnableGUIButtons = 1;

I have hard coded the path as a debugging aid to make sure that Pmwiki 
can find it.

I am using Firefox 2.0 on Linux. If I look at the Javascript console I 
can see several errors, but I am not sure if these are related to my 
GUIButton problem.

Any suggestions as to what I am doing wrong?

Ian.




More information about the pmwiki-users mailing list