You are not logged in.
Pages: 1
Hi!
Well, I have a problem with getting Xinha started. I've been reading the Newbie guide for some time now and it still doesn't work at all. :-) Maybe I'll just start with what I want to get and what I've done up until now, so you can understand me better.
I would like to do something like this. When you're opening a certain site, you have a select field to choose what you want to edit. When you choose it, then there appears few texareas. Some of them should be Xinha, but that's not the case. All the textareas are generated with ajax, so when those appear the page has been loaded already. Now, is it possible that Xinha is not loading because it doesn't know that it should?
I've been doing everything according to Newbie Guide, so I have 3 script tags in the head of the document, which are: some variables where Xinha is installed and such, source of XinhaCore.js and source of config.js which I created. In config I specified which texareas should be changed into Xinha and added a plugin called ExtendedFileManager.
Well, that's all I think. The Xinha's version is 0,95 I believe. Someone knows what am I doing wrong? :-)
Thanks in advance!
Blacksword.
Little Edit:
Well, I've added some "alert" inside Xinha script to check when is it being loaded, and it's how I though. I loads when the site is being opened, and when it is changed with ajax, nothing happens. Is it a way to run Xinha manually somehow when editing a page dinamically?
Last edited by blacksword (2010-02-07 06:15:17)
Offline
Well,
I've solved this somehow. When I finally found http://www.xinha.org/punbb/viewtopic.php?id=1518, then it was quite easier to write something fitting to my needs.
Sorry for making an unnecesary topic, I hope it helps someone in the future :-)
The solution is a method called startEditors, but you have to 'make' configs for it manually or prepare it somewhere. Then you have to run it after modifying a webpage.
-Blacksword.
Offline
Pages: 1