Jump to content

FCKeditor and extensions


Guest

Recommended Posts

Just a little FYI.

The config for CC for FCKEditor has a very limited amount of extensions that it allows you to view. That was not done very well be the CC staff since you can upload pdf and doc files for example but once you open FCKeditor to browse for them they are "invisible". If they don't want you to view certain file types (doc and pdf for example again) then CC admins should set the config files so that you cannot upload them by default.

If you need to change the FCKeditor view options it has changed from previous versions. Currently you would need to basically look at two files.

\admin\includes\rte\editor\filemanager\connectors\php\config.php -- this file you can probably leave alone however you may want to add more extensions

\admin\includes\rte\editor\filemanager\connectors\php\commands.php -- this file you will have to add every extension that you want to be able to view. The CC packagers only include image types by default. The line you need to edit is 71 and looks like this, elseif(preg_match('/\.(jpg|jpeg|png|gif|swf|pdf|doc|xls)$/i',$sFile))

This was very confusing to troubleshoot because in the old FCKeditor version everything was in the config file. CC admin team -- please realize there are tons of uses for your product so don't limit or change things to dumb it down.

Link to comment
Share on other sites

This was very confusing to troubleshoot because in the old FCKeditor version everything was in the config file. CC admin team -- please realize there are tons of uses for your product so don't limit or change things to dumb it down.

Amen Well Said WooHoo!!!!

Couldnt agree more

quit dumbing down the software to suit stupid people

keep it smart and educate your stupid users on best practices

Link to comment
Share on other sites

I use CC for shopping carts and content management systems. It is nothing but a springboard for what I want to write code-wise for a particular site. If I have to edit a million things everytime I upgrade I am going to create my own springboard...

Link to comment
Share on other sites

Guest rhadesign

Many thanks for pointing out where to change the code. Spent about an hour checking my directory permissions and looking through the FCKconfig file before finding this post. Think it's just an oversight by CC though, as I'm sure many users will want to provide links to PDFs etc.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...