Welcome Guest, Not a member yet? Register   Sign In
Turn off "Browse Server" in FCKEditor depending on RoleId?
#1

[eluser]dobbler[/eluser]
Hi,

I have a site with a cms where FCKEditor (with CKFinder) is used only on the backend except one instance where it is available to the public. The problem is the "Browse Server" button is available in the "Link" dialogue box which is, obviously, not ideal. (also the "Upload" tab is available)

Is there any way to prevent it from being displayed depending on either the page name or the RoleId in the session?

I've found where the code is being taken from:

plugins/fckeditor/editor/dialog/fck_link.html line 63

but because it's an html page I can't put a condition around it. Would it be as simple as finding where fck_link.html is included from and changing it to a php page with the condition around it? (I just tried that and it didn't work!)

Perhaps another instance of fckeditor without ckfinder? Not sure how to go about that.

If anyone has come across this problem or has any pearls of wisdom it would be greatly appreciated.

Many thanks,

Rob.


Messages In This Thread
Turn off "Browse Server" in FCKEditor depending on RoleId? - by El Forum - 10-31-2009, 07:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB