We are running a hosting company and would like to know whether we can install the FKC editor on the server in public_html of individual accounts, to convert all text areas to html areas. If it is possible, how can we achieve this.
Regards
kITCHEN
Regards
kITCHEN
Re: CAN YOU HELP, PLEASE
Hi
I have found this :https://addons.mozilla.org/en-US/firefox/addon/1449
can you do a FCKeditor just like this??
kitchen
Re: CAN YOU HELP, PLEASE
Hi,
First of all I don't think that converting all textareas to FCKeditor is a good idea... but that's just my opinion.
If I had to do such thing, I would do it this way:
- create Alias to /fckeditor/ in httpd.conf (assuming that none of clients already have such directory in public_html)
- modify config files in PHP connector so that each user had it's own path there (you can achieve that playing with $_SERVER variables)
- create userfiles directory in each public_html directory with appropiate permissions (you can add this step to script that creates user account on server, if you have such)
After doing that, simply inform users how they can include FCKeditor into their www sites (you can find more information here: http://wiki.fckeditor.net/).
...or if you really want to replace all textareas automatically, check this page: http://wiki.fckeditor.net/ReplaceAllTextareas and here's the only way I can think out:
- force apache to treat HTML files as PHP
- turn on output buffering in php.ini
- set auto_append_file to php script that will replace
with
and
with
..but be careful with that because parsing each file will add much overhead to your server.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+