I'm running into an odd situation.
I'm using a Modalbox that uses Scriptaculous and Prototype to show a record to be edited in a popup box of sorts. If I force the link to a new page or tab, CKeditor shows up just fine. Unfortunately, when I use the Modalbox method, the editor never replaces the <textarea>.
I've tried adding the Javascript tag to the header of both pages, as the Modalbox is using another page. Now, I've done this before, but I was using Lasso, a database to html language like PHP. Well, now I'm on a project where the customer wants this functionality but wants it in PHP.
I'm not sure why Lasso seems to work just fine and the PHP version doesn't. To be honest, Lasso allows me to add items to a regular HTML coded page, not via echos like in PHP. Could the echo's be causing it not to trigger? It triggers just fine alone, just not in the Modalbox.
Any help would be greatly appreciated.
I'm using a Modalbox that uses Scriptaculous and Prototype to show a record to be edited in a popup box of sorts. If I force the link to a new page or tab, CKeditor shows up just fine. Unfortunately, when I use the Modalbox method, the editor never replaces the <textarea>.
I've tried adding the Javascript tag to the header of both pages, as the Modalbox is using another page. Now, I've done this before, but I was using Lasso, a database to html language like PHP. Well, now I'm on a project where the customer wants this functionality but wants it in PHP.
I'm not sure why Lasso seems to work just fine and the PHP version doesn't. To be honest, Lasso allows me to add items to a regular HTML coded page, not via echos like in PHP. Could the echo's be causing it not to trigger? It triggers just fine alone, just not in the Modalbox.
Any help would be greatly appreciated.