Live Support, Chat, Upload Control and Rich Text Editor
Welcome to Support forums Sign in | Join | Help |Client Center
in Search

DNN Provider 4.0 - Customize Toolbar by Role?

Last post 11-13-2006, 9:16 PM by Adam. 65 replies.
Page 3 of 4 (66 items)   < Previous 1 2 3 4 Next >
Sort Posts: Previous Next
  •  04-11-2005, 2:03 AM 5551 in reply to 5469

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    Thanks guys, got it working. Deleted off the server and reinstalled, and it is working fine.
     
    Another question, where do I specify the width of the of the actual editor? I want it to be only 500px wide, but can't seem to find where to change this setting.
     
    Cheers
    Steve
  •  04-11-2005, 7:31 AM 5554 in reply to 5551

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    Steve,
    I'm having the same trouble......
  •  04-11-2005, 9:58 AM 5564 in reply to 5554

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    Steve and Jack,
    Please download the latest provider.
     
    The width issue has been resolved.
     

    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

  •  04-14-2005, 7:57 AM 5713 in reply to 5564

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    WOW Adam - Great work!!  I've just skimmed through the post and its looks like a great enhancement.

    Just to summarise, we need to map the security config file to each role in DNN?

    Does this restrict access / viewing of folders to which the roles do not have access, say when uploading or selecting a file?

    Ideally, when navigating through the folder structure, it would be great if the Editor would check to see if the current user has the required DNN folder/file permission to access / upload files..

    Thanks again for your work on this - you're starting to pick up a great following in the DNN community!!

    Cheers,
    Andrew
  •  04-14-2005, 10:03 AM 5718 in reply to 5713

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    I've this problem with DNN 3.0, after modify web.config with CEHTML web.config, DNN start but give me this error:
     
    Login Failed, remember that Passwords are case sensitive
    It does not allow the access me with host of with admin
     
    Cetalfio
  •  04-14-2005, 10:10 AM 5719 in reply to 5718

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    Did you modify the web.config file from your site? Or did you use the web.config supplied in the package or another webconfig from a DNN download?
     
    This sounds like you used a different web.config file with different encryption keys.
     
  •  04-14-2005, 11:21 AM 5725 in reply to 5718

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    Cetalfio,

    Please download the latest version and try again.

    If you still have the same problem,  please provide a URL if your site is online.
     
    We may need your host username/password and FTP access.
     
     

    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

  •  04-14-2005, 12:31 PM 5728 in reply to 5725

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    Thanks for your help,
    I have downloaded it this morning, I think that this is the last version.
     
    I try to install CuteEditor on DNN 2.1.2 and DNN 3.0.13
     
    DNN 3.0.13 I have copied file in BIN folder into DNN BIN folder, then I have copied CEHtmlEditorProvider folder into DNN/Provider/HtmlEditorProviders/. Now I have replaced original web.config with web.config of CuteEditor DotNetNuke_3.0 folder. In this case I cannot more enter on DNN. If I change web.config with older version all It's normal.
     
    DNN 2.1.2 I have covered the same steps, but in this case I enter within DNN but when I try to edit HTML/TEXT Module as soon as created DNN does not visualize editor to work only a blank page.
     
    Cetalfio
  •  04-14-2005, 12:44 PM 5730 in reply to 5728

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    Cetalfio,
     
    Don't replace the web.config with the file from the cute editor download. Only add the information regarding the html editor provider from the provided web.config to your existing web.config file and all will be good.
     
    Just copy and past the required information from the provided file to your file.
  •  04-14-2005, 12:45 PM 5731 in reply to 5728

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    Cetalfio,

    For DNN3, please use your own web.config file.
     
    Just replace the htmlEditor section in your web.config using the following code:
     
    <htmlEditor defaultProvider="CEHtmlEditorProvider">
       <providers>
        <clear />
        <!--
             FTB options:
             ============
             toolbarStyle="Office2003|OfficeXP|Office2000|OfficeMac"  Sets the default FTB Toolbar style
             enableProFeatures="[true|false]"                         Pro features require a license from FreeTextBox
                                                                      or you may test them with localhost only
             spellCheck="[{none}|IeSpellCheck|NetSpell]"              IeSpellCheck is free for non-commercial use only
                                                                      NetSpell requires some integration work
        -->
        <add name="Ftb3HtmlEditorProvider"
         type="DotNetNuke.HtmlEditor.Ftb3HtmlEditorProvider, DotNetNuke.Ftb3HtmlEditorProvider"
         providerPath="~\Providers\HtmlEditorProviders\Ftb3HtmlEditorProvider\"
         toolbarStyle="Office2003"
         enableProFeatures="false"
         spellCheck="" />
        <add name="CEHtmlEditorProvider"
            type="DotNetNuke.HtmlEditor.CEHtmlEditorProvider, DotNetNuke.CEHtmlEditorProvider"
            providerPath="~\Providers\HtmlEditorProviders\CEHtmlEditorProvider\CuteSoft_Client\CuteEditor\"
            UseDNNRootImageDirectory="true"
            RemoveServerNamesFromUrl="true"
            UseRelativeLinks="false"
            RenderRichDropDown="true"
            MaxHTMLLength="0"
            MaxTextLength="0"
            CustomCulture=""
            ThemeType=""
            DisableAutoFormatting="false"
            DisableClassList=""
            HelpUrl=""
            BreakElement="div"
            EditorBodyStyle=""
         Admin_AutoConfigure = "Full"
         Admin_SecurityPolicyFile = "admin.config"
         Admin_DisableItemList = ""
         Admin_AllowPasteHtml = "true"
         Admin_EditorOnPaste  = "default"
         Admin_ReadOnly = "false"
         Admin_ShowBottomBar ="true"
         Admin_ShowHtmlMode = "false"
         Admin_ShowPreviewMode = "true" 
         Registered_AutoConfigure = "Simple"
         Registered_SecurityPolicyFile = "default.config"
         Registered_DisableItemList = ""
         Registered_AllowPasteHtml = "true"
         Registered_EditorOnPaste  = "default"
         Registered_ReadOnly = "false"
         Registered_ShowBottomBar ="true"
         Registered_ShowHtmlMode = "false"
         Registered_ShowPreviewMode = "true"        
         Guest_AutoConfigure = "Minimal"
         Guest_SecurityPolicyFile = "guest.config"
         Guest_DisableItemList = "Save"
         Guest_AllowPasteHtml = "true"
         Guest_EditorOnPaste  = "default"
         Guest_ReadOnly = "false"
         Guest_ShowBottomBar ="true"
         Guest_ShowHtmlMode = "true"
         Guest_ShowPreviewMode = "true"
            />
           
       </providers>
      </htmlEditor>
     
    Keep me posted.
     
     

    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

  •  04-14-2005, 4:37 PM 5745 in reply to 5713

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

     Bunce wrote:
    WOW Adam - Great work!!  I've just skimmed through the post and its looks like a great enhancement.

    Just to summarise, we need to map the security config file to each role in DNN?

    Does this restrict access / viewing of folders to which the roles do not have access, say when uploading or selecting a file?

    Ideally, when navigating through the folder structure, it would be great if the Editor would check to see if the current user has the required DNN folder/file permission to access / upload files..

    Thanks again for your work on this - you're starting to pick up a great following in the DNN community!!

    Cheers,
    Andrew
     
    Andrew,
     
    Thanks for the kind words!
     
    >>Just to summarise, we need to map the security config file to each role in DNN?

    Yes.

    >>Does this restrict access / viewing of folders to which the roles do not have access, say when uploading or selecting a file?

    Yes. For example,

    admin—maps to admin.config
    default—maps to default.config
    guest—maps to guest.config

    You can customize and extend each policy file by editing the XML security policy file. You can also create your own policy files that define arbitrary permission sets.

    Comparison of the sample security policy file:

    Permissions/Resource SettingAdminDefaultGuest
    AllowUpload MarkedMarked
    AllowDelete Marked
    AllowCopy Marked
    AllowMove Marked
    AllowCreateFolder Marked
    AllowDeleteFolder Marked
    RestrictUploadedImageDimension MarkedMarked
    AutoResizeUploadedImages MarkedMarked
    MaxImageWidth 6400640640
    MaxImageHeight 4800480480
    MaxImageSize 10000100100
    MaxMediaSize 10000100100
    MaxFlashSize 10000100100
    MaxDocumentSize 10000100100
    ImageGalleryPath~/uploads~/uploads/member~/uploads/guest
    MediaGalleryPath~/uploads~/uploads/member~/uploads/guest
    FlashGalleryPath~/uploads~/uploads/member~/uploads/guest
    FilesGallaryPath~/uploads~/uploads/member~/uploads/guest
    ImageFilters.jpg
    .jpeg
    .gif
    .png
    .jpg
    .jpeg
    .gif
    .jpg
    .jpeg
    .gif
    MediaFilters.avi
    .mpg
    .mpeg
    .mp3
    .avi
    .mpg
    .mpeg
    .avi
    .mpg
    .mpeg
    DocumentFilters.txt, .doc
    .pdf, .zip
    .rar, .avi
    .mpg, .mpeg
    .mp3, .jpg
    .jpeg,.gif
    .png
    .pdf, .doc
    .txt, .doc
    .pdf, .zip


    Andrew, Let me know if you have any suggestions or inputs.

    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

  •  04-14-2005, 7:13 PM 5749 in reply to 5745

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    Hi adam - thanks for your reply.
     
    I understand that you can manually set the default folder for uploads etc, against a role, but this doesn't take into DNN File permissions, unless I'm mistaken.
     
    For example, we have 30 odd roles in our environment -> we have applied DNN file permissions to many folders - some overlap, and some roles have access to different branches of the file tree.
     
    As I understand it, with the editor, we can set the default root directory for a role, however the user may not have DNN access permissions to a sub-folder of that location, yet they will still be able to upload to it..
     
    So while we're mapping roles to folder, we're still not actually taking into account the DNN file permissions...  I think the only way to do this would be to perform a DNN call to retrieve file permissions while navigating through the folderlist in your scripts - such as in the image gallery..
     
    Cheers,
    A
  •  04-15-2005, 4:31 AM 5756 in reply to 5731

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    Thanks Adam,
    I'm successful install CuteEditor on DNN 3, but I'ld like to succeed to install it on version 2.1.2. In this case when I edit module HTML, DNN does'nt load any editor.
     
    Cetalfio
  •  04-19-2005, 1:27 PM 5912 in reply to 5713

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    Andrew,

    I've updated the CuteEditor for DotNetNuke provider solution. The Spell problem has also been fixed.

    Please download the Nuke_edit from here.

    Keep me posted.



    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

  •  04-30-2005, 4:02 AM 6326 in reply to 5462

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    Adam-
    This is exactly what I was looking for. Have you made updates to the version for DNN 2.1.2??

    Thanks a ton!

  •  04-30-2005, 12:53 PM 6328 in reply to 6326

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

  •  09-07-2005, 4:18 PM 10209 in reply to 5462

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    I miss the possibility to easily add new roles mapping to the roles I created in DNN (a fourth and fifth role on top of the three existing roles in the provider (admin, registered and guest) - can this be done ?
  •  09-12-2005, 4:05 PM 10415 in reply to 10209

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    Yes, please download the version 5.0 provider.
     
    The new roles are supported.
     
    Demo:
    If you still have problems, please let me know.

     

    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

  •  11-01-2006, 6:36 PM 23959 in reply to 5745

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    Adam,
     
    It seems as though the ImageGalleryPath, MediaGalleryPath, etc. are ignored if the UseDNNRootImageDirectory attribute in the web.config file is set to true.
     
    If that attribute is set to true, then it appears as though all of the Paths get set to the root portal path (/Portal/<PortalID>/).
     
    What we are trying to accomplish is to use the SecurityPolicyFile allow the customization of the path to that "~/Images" in the security file would equate to "/Portal/<PortalID>/Images".
     
    I am going to try and code this into the Provider code (we are using DNN 4.3.4), but I wanted to post this in case it could already be done and I was just missing something.
     
    Please let me know - Thanks!
  •  11-01-2006, 10:30 PM 23966 in reply to 23959

    Re: DNN Provider 4.0 - Customize Toolbar by Role?

    risedev,
     
    >>It seems as though the ImageGalleryPath, MediaGalleryPath, etc. are ignored if the UseDNNRootImageDirectory attribute in the web.config file is set to true. If that attribute is set to true, then it appears as though all of the Paths get set to the root portal path (/Portal/<PortalID>/).
     
    Yes, it's true.
     
    >>What we are trying to accomplish is to use the SecurityPolicyFile allow the customization of the path to that "~/Images" in the security file would equate to "/Portal/<PortalID>/Images".
     
    Can you explain it in more details?
     
    If the UseDNNRootImageDirectory attribute is set to false, all the setting in the security files will take effect.  You can also programmatically specify the Image gallery path, flash gallery path, media gallery path and file gallery path.
     
     
     
     
     
     
     
     
     
     
     

    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

Page 3 of 4 (66 items)   < Previous 1 2 3 4 Next >
View as RSS news feed in XML
Powered by ASP.Net
Copyright 2003 - 2017 CuteSoft Components Inc.. All rights reserved.