You are not logged in.
Pages: 1
can this be made to work with xinha?
http://alrashid.klokan.sk/insFile/htmlareademo/
Offline
I already does. In the readme that comes with the file you download from the InsertFile download, you'll see the following code:
<script type="text/javascript">
// load the plugin files
HTMLArea.loadPlugin("InsertFile");
function initEditor() {
// create an editor for the "ta" textbox
editor = new HTMLArea("ta");
editor.registerPlugin(InsertFile);
editor.generate();
return false;
}
</script>
Instead of doing that, I played with "xinha_plugins = xinha_plugins ? xinha_plugins :" part of the xinha nightly install, so that it looks like:
xinha_plugins = xinha_plugins ? xinha_plugins :
[
'CharacterMap',
'ContextMenu',
'FullScreen',
'ListType',
'SpellChecker',
'Stylist',
'SuperClean',
'TableOperations',
'InsertFile' //InsertFile plugin, works nicely!!
];
Hope this helps!
Last edited by dlst (2005-02-27 17:20:19)
Offline
that didnt really help me. dont I need to modify the plugin itself to make it properly detected by xinha?
Offline
No, you do not. Follow all the directions from http://alrashid.klokan.sk/insFile/htmlareademo/ EXACTLY except for what I told you above. It will work fine, takes literally 2 minutes to install (a fact you'll realize once you actually try).
Offline
i extended this file manager into a media handler.... it allows you to optionally embed all types of multimedia with a few clicks.
though I have not finished adding needed features, such as configuring parameters like size, controller, loop, autoplay etcetera.... I plan to.
i will add the plugin here once I confirm it works with latest xinha.
although, i am very interested to see the EFM plugin... which maybe i would spend time extending if it is better than al rashid's version.
cheers-
sull
Offline
although, i am very interested to see the EFM plugin... which maybe i would spend time extending if it is better than al rashid's version.
imho EFM is the best!
(hopefully development will continue...)
Niko
Offline
niko can you make EFM available to the rest of us? Their download page is still down.
Offline
Where do you place this to get it to work?
xinha_plugins = xinha_plugins ? xinha_plugins :
[
'CharacterMap',
'ContextMenu',
'FullScreen',
'ListType',
'SpellChecker',
'Stylist',
'SuperClean',
'TableOperations',
'InsertFile' //InsertFile plugin, works nicely!!
];
Between <script> tags?
site [url]www.paradigmprint.com[/url]
Offline
Where do you place this to get it to work?
Nowhere - it is in a nightly build of the Xinha sources. If you have it then this plugin should be loaded by default.
Otherwise use loadPlugin() and registerPlugin() to use this plugin (as outlined by dlst).
Offline
Pages: 1