I have been working on my own CMS project and have been successfully using FCKeditor to manage content.
I have now implemented a .htaccess file to rewrite URL's in order to be search engine friendly.
The problem is that now the editor does not display - I have tried both IE and Firefox.
The source code is being written but I notice the inline style has been dynamcially changed which may explain it. The snippit of code is as follows :
<TEXTAREA id=FCKeditor1 style="DISPLAY: none; WIDTH: 98%; HEIGHT: 300px" name=FCKeditor1>
The "DISPLAY:none;" is the bit that has been dynamically added.
I have checked the error console in Firefox but no errors are reported.
Has anyone else experienced this problem ?
Thanks
Nigel
I have now implemented a .htaccess file to rewrite URL's in order to be search engine friendly.
The problem is that now the editor does not display - I have tried both IE and Firefox.
The source code is being written but I notice the inline style has been dynamcially changed which may explain it. The snippit of code is as follows :
<TEXTAREA id=FCKeditor1 style="DISPLAY: none; WIDTH: 98%; HEIGHT: 300px" name=FCKeditor1>
The "DISPLAY:none;" is the bit that has been dynamically added.
I have checked the error console in Firefox but no errors are reported.
Has anyone else experienced this problem ?
Thanks
Nigel

RE: Editor Not Displaying Once .htaccess uploaded
Have you checked your web server access and error logs?
What is in your .htaccess file?
Does FCKeditor work properly if you remove the .htaccess file?
RE: Editor Not Displaying Once .htaccess uplo
Wow that was a quick response . . .
Yes the editor works fine when the .htaccess file is not present.
My .htaccess file is :
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^(.*).html$ index.php?path=$1
RewriteRule ^/admin/(.*) /admin/$1
FCKeditor is located an "admin" hence the rewriterule above for Admin.
Cheers
Nigel
RE: Editor Not Displaying Once .htaccess uploaded
http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html
http://www.workingwith.me.uk/articles/s ... od_rewrite
RE: Editor Not Displaying Once .htaccess uploaded
RE: Editor Not Displaying Once .htaccess uplo
http://www.rangiorafootball.org.nz/admin/admin.php
http://www.mydomainname.co.nz/admin/adm ... dit&obID=2
RE: Editor Not Displaying Once .htaccess uplo
My CMS system works via one file (index.php) and by using .htaccess I can generate SEO friendly URL's.
If there is a way to deal with this via php then I'd love to know about it.
Thanks
Nigel
RE: Editor Not Displaying Once .htaccess uplo
http://www.mysite.org.nz/admin/scripts/ ... ar=Default
RE: Editor Not Displaying Once .htaccess uplo
Finally tracked the issue down to the main URL rewrite.
I removed the main rewrite rule and tried again - magically it all worked fine.
So after a few tests of different combinations I simply added a slash to the start of the rewrite and everything now seems to be working fine.
Old Code :
RewriteRule ^(.*).html$ index.php?path=$1
RewriteRule ^/admin/(.*)$ /admin/$1 [L]
New Code :
RewriteRule ^(.*).html$ /index.php?path=$1
RewriteRule ^/admin/(.*)$ /admin/$1 [L]
Note the extra '/' in "/index.php?path=$1"