Akex
02-01-2005, 11:16 AM
Hi,
Well, i'll try to explain my problem.
I'm trying to make a php script whch allows the use of the wysiwyg editor in a parent directory of the forum one.
So Everything loads ok, I have something similar to the code given in this thread
https://vborg.vbsupport.ru/showthread.php?t=66895
In order to make the editor work, I did a str_replace (or eregi_replace) for the $messagearea var, to replace relative urls (clientscript/... and images/...) into real urls ($vboptions[bburl]/...).
Now, in the source code of the html page generated the urls of called javascripts and images are fine (the editor loads with pitures ... ).
The probleme : it's for me impossible to write any message (impossible to have the cursor in the message area) and impossible to click the B, I, U ... buttons.
So, how to make it work ? (without copying the clientscript directory in the root folder ).
Thank you for any help.
Well, i'll try to explain my problem.
I'm trying to make a php script whch allows the use of the wysiwyg editor in a parent directory of the forum one.
So Everything loads ok, I have something similar to the code given in this thread
https://vborg.vbsupport.ru/showthread.php?t=66895
In order to make the editor work, I did a str_replace (or eregi_replace) for the $messagearea var, to replace relative urls (clientscript/... and images/...) into real urls ($vboptions[bburl]/...).
Now, in the source code of the html page generated the urls of called javascripts and images are fine (the editor loads with pitures ... ).
The probleme : it's for me impossible to write any message (impossible to have the cursor in the message area) and impossible to click the B, I, U ... buttons.
So, how to make it work ? (without copying the clientscript directory in the root folder ).
Thank you for any help.