Show only specific folders in FCKeditor File Browser

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.
6/20/2008 1:43:53 AM
Gravatar
Total Posts 68

Show only specific folders in FCKeditor File Browser

Hi Joe,

I would like my content managers to see only a specific folder when they click the Browse Server button in the Link Info dialog in FCKeditor.

This is so that they cant see all the other folders such as htmlfragments, logos etc.

How can I set it to show only the Pages folder and the Documents folder?

Can this be set in Role based permissions?

Does changing the DisallowedVirtualFolderNames in the web.config file make any difference here?

Cheers!

 

6/20/2008 6:07:26 AM
Gravatar
Total Posts 18439

Re: Show only specific folders in FCKeditor File Browser

Hi,

DisallowedVirtualFolderNames setting is only used for multi site installations based on folder names, it has nothing to do with FCKeditor.

Currently I don't have the folders configurable as you would like. I do have a web.config setting RolesThatCanUploadAndBrowse that determines who can browse the server and upload files.

The logic for controlling what is seen in the browse dialog is in Web/Dialog/FileBrowseConnector.aspx.cs

You could potentially implement your own replacement for this and then just use the Web.config settings to point to your own version:

<add key="FileBrowserServiceRelativePath" value="/Dialog/FileBrowseConnector.aspx" />
<add key="ImageBrowserServiceRelativePath" value="/Dialog/FileBrowseConnector.aspx" />
<add key="LinkBrowserServiceRelativePath" value="/Dialog/LinkBrowseConnector.aspx" />

Hope it helps,

Joe

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