I've the following 'problem' with FCKeditor:
I have two instances (sometimes more) of FCKeditor on a page. I am using a ajax upload plugin for FCK so the page dont need to be refreshed when updating.
When i have 1 instance of FCKeditor on the page it easy, because im setting $_SESSION['pageid'] = pagenumber and retrieving it with the PHP file which sends it to the database. But with two instances on the same page i can't set $_SESSION['pageid'] because it will overwrite each other.
So i need to set something in the config file so i can see which instance is active and which pageid i should use.
for instance:
if(FCKEditor.type == 'updatenews')
//use session['new']
else if(FCKEditor.type == 'somethingelse')
//use session['somethingelse']
I hope i explained it a bit clear so everyone will understand my problem Thanks in advance
Thu, 03/11/2010 - 22:53
#1