[pmwiki-users] No GUIButtons
Ian Barton
lists at manor-farm.org
Fri Dec 1 06:58:21 CST 2006
> Anno wrote:
>> >$GUIButtonDirUrlFmt = "/var/lib/pmwiki/pub/guiedit";
>>
>> This should be a URL, like http://.....
> Thanks, I have changed it, but it didn't fix the problem. Inspecting the
> generated page source I can see the problem:
>
> <link rel='stylesheet' type='text/css'
> href='http://www.banter.local/estate/pub/skins/monobook/monobook.css' />
> <script language='javascript' type='text/javascript'
> src='http://www.banter.local/pmwiki/pub/guiedit/guiedit.js'></script>
>
> The url of guiedit.js should be:
> http://www.banter.local/estate/pub/guiedit/guiedit.js
>
> Where does pmwiki find the url for java script files? I thought it might
> be a skin problem, but it still happens with the default skin.
>
> In my local/config.php I have
>
> $ScriptUrl = 'http://www.banter.local/estate';
> $PubDirUrl = 'http://www.banter.local/estate/pub';
>
OK fixed it now. For the record I had to explicitly set my
$FarmPubDirUrl in local/config.php.
Ian.
More information about the pmwiki-users
mailing list