Extension talk:Wiklets

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";

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...

Sorry, the name of the variable should be $wgWikletsUseCSS (capitals for CSS), you can refer to a file, or create one in-wiki, for example, our LocalSettings line is: $wgWikletsUseCSS = '/wiki/index.php?title=Wiklets.css&action=raw&smaxage=0&ctype=css'; This reads the raw wiki-text version of an article with no caching and sets its MIME type to CSS. I don't think the main CSS is good for wiklets because it may affect layout incorrectly, but I can't quite remember. --Nad 09:30, 8 September 2007 (NZST)


 * Thanks Nad, that did the trick :)
 * Yeah that's looking much better ;-) I think it would work much more smoothly using draggable div's rather than iFrames and my favourite javascript framework, Mootools, has that capability now so I'll look into making some more progress with the wiklets and let you know if any news. --Nad 12:32, 8 September 2007 (NZST)

iframe not movable
Hi Nad...

I'm also trying to get your extension working on my wiki. But unfortunately the iframe isn't movable as soon as I save the article. It's a little bit curious, but in the preview-mode it's possible to move the frame!?! Any idea?
 * You could try loading the javascript unconditionally, it might not be getting loaded under some circumstances. --Nad 21:28, 6 October 2007 (UTC)
 * Thanks for the quick response. Actually I don't really know how to load the js unconditionally. Maybe you can give me a little advice...

Me too
Hi Nad: I have the same problem. My test page is at " http://studwww.nou.edu.tw/~e-live/testwiki/index.php/Wiklets_test". Please tell me the way to solve it. I'v set to watch this page. If you leave any message here, I would know.--Roc michael 13:29, 11 October 2007 (UTC)