jesperottosson wrote: |
Hi On my sites, a few administrators with different edit priviliges will do the administration. Therefore, some are in a role called Restricted Admins, and some are in a role called Content Only Admins. |
|
It looks like you need to modify the provider (CEHtmlEditorProvider.vb).
The following code will get you start:
-----
Dim trim(1) As Char
trim(0) = "/"c
Dim tempfolder As String = "Guest"
Dim Templatefolder As String = ""
If role = "
Admin" or role = "
Restricted Admins" or role = "
Content Only Admins" Then
tempfolder = ""
ElseIf role = "Registered" Then
tempfolder = "Member"
ElseIf role <> String.Empty Then
tempfolder = role
End If
-----
jesperottosson wrote: |
Hi a user "upgraded" from one of the roles to the other still needs to be able to access "his" old images. Is this possible? |
|
If the user has been upgraded to admin level, the user can has access to all the old images.
jesperottosson wrote: |
Hi It seems like CuteEditor creates subdirectories for every role. Is there a good way to change this, or to set the image folder (in relation to the Portal root folder) on a per role basis?
|
|
CuteEditor creates subdirectories for every role (except the admin role).
If you want to change it, please modify the provider (CEHtmlEditorProvider.vb).
Hope it helps.
Let me know if you have any further questions.
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx