You are not logged in.
Unfortunately you cannot control the position of the plugins' buttons (easily)
No, that's impossible ![]()
function submitForm(myForm,message,serverScript,reloadContent)
{
myForm.onsubmit(); // you have to trigger this manually, it copies the content of Xinha in the textarea
var options = {
method : 'post',
parameters : Form.serialize(myForm),
onSuccess : alert(message)
};
new Ajax.Request(serverScript, options);
doSubNav(reloadContent,'content');
}you have a missing parenthesis
(Xinha.is_gecko )? [] : ["cut","copy","paste","overwrite","saveas"]You have to remove FullScreen from plugins, there's no FullScreen plugin (well, there was one but it's been integrated and doesn't have to be loaded manually anymore)
I know that it was in the NewbieGuide, that was wrong and is now changed
this is just what happens (similarly) as of revision 793. Actually a check is inserted in the js of the event that checks if inside the Xinha iframe and then returns false. This happens transparently in inwardHtml()/outwardHtml(), so that you won't be bothered in sourceview
Unfortunate, but true. Maybe you could save the selection, check out the related functions I added in http://xinha.python-hosting.com/changeset/794
It is not possible in HTML to emulate the behaviour of tabs like in a wordprocessor. The only way to align lines is using tables, which of course is not so convenient
While editing the value of the textarea is not changed, this can be done manually by calling the form's onsubmit method, you you can directly get the value from the editor
<INPUT TYPE="button" VALUE="Show Preview" onClick="this.form.onsubmit(); alert(document.getElementById('story').value);">or
<INPUT TYPE="button" VALUE="Show Preview" onClick="alert(xinha_editors.story.outwardHtml(xinha_editors.story.getHTML())">I'd like to know, too, why and what seems to be loading all the time...but I have no idea ![]()
This is done by the browser as they think it's best...
You could tweak the behaviour of the button as to manually insert a plain hr like this
//put this in your config
if ( Xinha.is_gecko )
{
xinha_config.btnList.inserthorizontalrule[3] = function(e) { e.execCommand("inserthtml",false,"<hr />"); };
}You may however notice why the size="2" is put in, default is quite thin ![]()
I'm not familiar with the SpellChecker plugin, but there seem to be options that can be set via the Xinha.Config object, i.e.
xinha_config.SpellChecker.defaultDictionary = 'en_GB';
xinha_config.SpellChecker.backend= 'php';Maybe this helps...
"XinhaIFrame_" + id of the textarea
http://xinha.python-hosting.com/ticket/983
Just added the id, is this right for you?
Otherwise the iframe is stored as property _iframe of the Xinha object
var iframe = xinha_editors.yourEditor._iframe;Do NOT delete ImageManager if you want to use EFM, there are some shared file in use
don't know about InsertPicture
1. http://xinha.gogo.co.nz/punbb/viewtopic.php?pid=1537 (link taken from FAQ)
2. xinha_editors.yourEditor.whenDocReady(functionToCall)
Should work from what I see, more details/ a page to look at might provide deeper insight
The thing is that you make config.inc.php safe, and configure the directories and permissions you want to allow to your users through the dynamic configuration on a page that you protect. If anybody calls server_name/xinha/plugins/ExtendedFileManager/backend.php?__plugin=ExtendedFileManager&__function=manager directly like you pointed out, they will only get the default settings from config.inc.php.
I think I understood you quite well. I have edited my above post, I hope it is now clearer what I meant ![]()
If you are on a Linux/Unix system: deny writing permission on server_name/xinha/plugins/ExtendedFileManager/demo_images/
Typically this should be already the case by default.
If you are on Windows: edit the config.inc.php file and set
$IMConfig['allow_upload'] = false;Having done so will prevent anybody who just opens the manger to upload files, because in this case only the default config from config.inc.php is used.
To allow your users to upload file and do anything they want, now use the provided method for configuring EFM by plugin config described here
http://xinha.python-hosting.com/wiki/Pl … ileManager
(Of course you still have to control the access to the page that legitimately opens Xinha and thus EFM, that should be not such a problem, should it?)
Please be so kind, if you notice a bug, create a ticket. Thanks.
Sorry I don't get a concept of your configuration, please be more concrete. What does body.js and head.js mean?
Of course as always, URL is fastest and easiest
any chance that we can look at it?
@hobet:
1. remove FullScreen from the plugins (this was an error in the NewbieGuide)
2.
<script type="text/javascript" src="/xinha/my_config.js"></script>you don't this line when you have the xinha config stuff in the same page