FCKeditor file upload location control

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
10/21/2009 1:48:51 PM
Gravatar
Total Posts 55

FCKeditor file upload location control

Not sure if there are administrative capabilities or not on managing FCKEditor file upload locations. Looking to provide a default location dependent on the page that the editor is on or based on user login. I know there is an overall setting in the FCKconfig file but looks site based at most.

Thanks for your feedback in advance.

Derek

10/22/2009 12:17:15 PM
Gravatar
Total Posts 18439

Re: FCKeditor file upload location control

There is no per page option for upload locations. Users with general upload and browse permissions (as defined in Site Settings > Security > Permissions) can upload and browse starting at /Data/Sites/[SiteID]/media.

Users who only have permission to upload to a user specific location can browse and upload beginning at /Data/Sites/[SiteID]/userfiles/[userid]

Admins by default can upload beginning at /Data/Sites/[SiteID]/

However you can force admins to start at the media folder by adding this to user.config

<add key="ForceAdminsToUseMediaFolder" value="true" />

These settings are not specific to any editor, they apply to all editors.

Hope it helps,

Joe

10/23/2009 1:21:06 PM
Gravatar
Total Posts 55

Re: FCKeditor file upload location control

Setting permissions for users to upload into their own folder at location /Data/Sites/[SiteID]/userfiles/[userid] is perfect.

When I tried this, I do see the user folder being created, but no matter what type of file they try to select and upload, they get the message: This type of file is not allowed.

Is this another permissions area on types of files allowed?

10/23/2009 2:06:56 PM
Gravatar
Total Posts 18439

Re: FCKeditor file upload location control

Hi Derek,

If you are running the latest version, the allowed file extensions using the editor upload for users limited to the user specific file location should be controlled by this Web.config/user.config setting:

<add key="AllowedLessPriveledgedUserUploadFileExtensions" value=".gif|.jpg|.jpeg|.png|.zip" />

If you find it does not allow the extensions listed there in pipe separated format let me know and I will investigate it as a bug.

Best,

Joe

10/23/2009 2:55:31 PM
Gravatar
Total Posts 55

Re: FCKeditor file upload location control

Added the file types I needed to web/user.confg. Works perfect. Thanks -- Derek

You must sign in to post in the forums. This thread is closed to new posts.