Difference between revisions of "Talk:Wiklet example"

From Organic Design wiki
Line 9: Line 9:
 
::Got it.  Thanks for the quick response!
 
::Got it.  Thanks for the quick response!
 
:::Sorry to bother you again, but would I put the call to the .css file in localsettings.php?  I added<br>
 
:::Sorry to bother you again, but would I put the call to the .css file in localsettings.php?  I added<br>
$wgWikletsUseCss = "/skins/monobook/main.css";<br>
+
:::$wgWikletsUseCss = "/skins/monobook/main.css";<br>
to test, but it's not being seen...
+
:::to test, but it's not being seen...

Revision as of 16:25, 7 September 2007

Trying to get this to work on my site but I can't get the path right to the .js location. I dropped dragiframe.js in /extensions along with Wiklets.php. I changed permissions to 755 on the .js as well. Also added these lines to localsettings.php

include("$IP/extensions/Wiklets.php");
$wgWikletsLoadJS = "/extensions/dragiframe.js";

My test page is here. Would you mind steering me in the right direction?

All your js etc is loaded ok, it seems that currently it can't work with external urls, and has to be a local wiki article - I edited you test page and it's working, but a bit shakey - also you need to set up a minimal css for wiklets - ours is wiklets.css and set that css in $wgWikletsUseCss. This extension hasn't been developed in a year or so and is very experimental currently. --Nad 17:39, 7 September 2007 (NZST)
Got it. Thanks for the quick response!
Sorry to bother you again, but would I put the call to the .css file in localsettings.php? I added
$wgWikletsUseCss = "/skins/monobook/main.css";
to test, but it's not being seen...