DNN Professor Gold Membership
 Ventrian Master Posts:764


 |
| 5/19/2005 5:30 AM |
|
Scott, Is it too soon to get your eval on cute editor? I have pretty much given up on FTB for production and value your opinion. |
|
Buck Anderson - DNN Professor
http://DNNprofessor.com
http://twitter.com/DNNprofessor
DotNetNuke Training - XMod Training Coach and XMod MVP
 |
|
|
Scott McCulloch Administrators
 Ventrian Master Posts:17204


 |
| 5/19/2005 5:36 AM |
|
I like it so far, I think Jack is a better person to ask. I do have a ticket with them (a problem in a certain version of IE).
The only thing it is missing I think is the ability to link to other pages in your portal, but the object model doesn't seem too difficult to add your own buttons. So I'm going to give this a try at somepoint.
|
|
Scott McCulloch Site Administrator |
|
|
Phil Speth Gold Membership
 Ventrian Wiz Posts:127

 |
| 5/19/2005 6:54 AM |
|
Have you looked at FCKeditor. Locopon has given us a provider for it. Looks very nice. |
|
|
|
|
Andrew Haslett Registered Users
 Ventrian Wiz Posts:102

 |
| 5/19/2005 8:00 PM |
|
Hi Scott.
I added the internal linka few months ago but never got around to posting it. Here's how I did it back in DNN 3.012.
I have a Dropdownlist called InsertDNNPageLink in the config file. This is done by adding the following to the .config file you are using: <item type="holder" name="InsertDNNPageLink" />
Here's the code I used in the provider. Not this was from a slightly older release of Cuteditor - .06 I think.
'Add LinkToDNNPage Dropdown List If Not .ToolControls("InsertDNNPageLink") Is Nothing Then
Dim container As System.Web.UI.Control container = .ToolControls("InsertDNNPageLink").Control
Dim dropdown As CuteEditor.RichDropDownList dropdown = New CuteEditor.RichDropDownList(cntlCE) dropdown.Attributes("onchange") = "CuteEditor_DropDownCommand(this,'InsertLink')"
'must set this css name dropdown.CssClass = "CuteEditorDropDown"
'add the first item (caption) 'the culture-text would be auto replaced.. dropdown.Items.Add("[[Insert Page Link]]", "")
'hide the first item (caption) in the float-panel dropdown.RichHideFirstItem = True
'add the items here every times 'dropdown.Items.Add("http://www.asp.net/")
'load tabs Dim arr As ArrayList arr = GetPortalTabs(PortalSettings.DesktopTabs, -1, False, False, False, False, False)
Dim objTab As DotNetNuke.Entities.Tabs.TabInfo For Each objTab In arr
'Get Dropdown Text To DIsplay Dim sDisplay As String If objTab.Level = 0 Then sDisplay = "<strong>" & objTab.TabName & "</strong>" Else sDisplay = objTab.TabName End If
dropdown.Items.Add(sDisplay, objTab.TabName, NavigateURL(objTab.TabID)) Next
'add - !!! 'if the statements put before Controls.Add , the statements must be executed every time
container.Controls.Add(dropdown) 'if the statements put after Controls.Add the statements could be executed only the first time
'or add items here if(!IsPostBack) 'If Not Page.IsPostBack Then 'dropdown.Items.Add("Microsoft", "http://www.microsoft.com/") 'dropdown.Items.Add("<font color=red>CuteSoft</font>", "*CuteSoft*", "http://www.cutesoft.net/") 'End If
End If
Cheers, Andrew
|
|
|
|
|
Jack Hoelz Gold Membership
 Ventrian Master Posts:861


 |
| 5/20/2005 3:54 AM |
|
| Scott, did you change something with the editor to make it load faster? It's used to be painfully slow for me and now it's great. |
|
Get The Net!!
Jack Hoelz |
|
|
Scott McCulloch Administrators
 Ventrian Master Posts:17204


 |
| 5/20/2005 6:02 AM |
|
| Hmm, don't think so, I did have one or two server problems the other night, but it seems okay now. |
|
Scott McCulloch Site Administrator |
|
|
Jack Hoelz Gold Membership
 Ventrian Master Posts:861


 |
| 5/20/2005 6:10 AM |
|
I just upgraded the r.a.d. editor to the latest 5.0.3 provider and I must say, unbelievable. The integration with DNN is now very comprehensive as you can specifiy tool bars by roles. This is still limited to the default dnn roles, but with the way the editor works with folder permissions you don't need much more. Oliver Hine has done an excellent job on the provider and I'm confident it will continue to get better. If anyone needs to know more, or would like to take it for a test drive contact me via PM and I'll get you set up. |
|
Get The Net!!
Jack Hoelz |
|
|
Andrew Haslett Registered Users
 Ventrian Wiz Posts:102

 |
| 5/21/2005 2:40 AM |
|
Posted By jhoelz on 5/20/2005 3:54:12 AM Scott, did you change something with the editor to make it load faster? It's used to be painfully slow for me and now it's great.
could be due to the first time it loads, it downloads all the button icons - from then on, they are probably cached in your browser. |
|
|
|
|
Dharmesh Shah Registered Users
 Ventrian Addict Posts:69

 |
| 5/21/2005 8:16 PM |
|
Does anyone have opinions on the Cute Editor vs. the Rad editor (for use within DNN)? I'm trying to make a purchasing decision and it seems that both these options are very capable (though I tend to lean a little towards Cute -- but not sure why). Any comments, experiences or insights would be appreciated. |
|
|
|
|
Jack Hoelz Gold Membership
 Ventrian Master Posts:861


 |
| 5/21/2005 8:35 PM |
|
I own licenses for both, I can say without hesitation r.a.d. I like the cute editor for one reason. The insert image and upload dialog is better than Teleriks. Both editors are very good. Support with either is good as well. The r.a.d. editor does integrate better with dnn because it will expose or hide the image, flash, docs, and media tools based on the users permissions set with the file manager. If a users role has read permissions on the images folder they will see the image icon in the tool bar and be able to insert images from the folders. If they have write permissions they will also have access to the upload dialog. If they have neither, they won't see the tools. You can now also customize the tool bars available based on Host, Admin, Registered and Unauthenticated roles. All this just by editing a few xml files. Other changes do require editing the webconfig, but nothing major. There is a small bug in the current provider (5.0.3) for dnn that does not display tool tips from the format sweeper. I am confident it will be addressed quickly. If you are running any 2.1.2 installs, then Cute for sure as that has a provider for 2.1.2 and I'm not sure the Telerik editor does, I may be wrong about that so you may want to look closer if you require it to work with 2.1.2. |
|
Get The Net!!
Jack Hoelz |
|
|
Dharmesh Shah Registered Users
 Ventrian Addict Posts:69

 |
| 5/21/2005 9:27 PM |
|
Thanks very much for the feedback. Seems RAD wins on the basis of better integration with DNN. However, in my quick experimentations with the online demos of both products, the Cute editor seems to be a little more user-friendly and has more features that could be useful in some contexts (like the "Template" selector). I also like the table editor and the overall functionality better in Cute. But, I guess this is largely dependent on what the needs are for an individual DNN site. |
|
|
|
|
Andrew Haslett Registered Users
 Ventrian Wiz Posts:102

 |
| 5/22/2005 4:12 AM |
|
Well I'll throw in an opposing few. It seems to me that RAD has finally caught up with many of the features that Cutesoft has had for quite a while. Toolbar customisation by role is available in Cute and has been for a few months now I think. The latest integration of RAD with DNN file permissions (although only just implemented) is definitely a plus, however I'm sure Cute will match it quite soon.( I personaly think that DNN needs to be slightly redesigned to support features such as this as it presently os really just a hack)
Additionally you have the Cutesoft coders doing the DNN integration themselves, rather than having to rely on a third party to do the provider (Oliver has done a great job though!!)
Isn't great to see competition between third party providers to provide support for DNN.
Have RAD put in suport for templates yet? |
|
|
|
|
Scott McCulloch Administrators
 Ventrian Master Posts:17204


 |
| 5/22/2005 4:21 AM |
|
| One thing that annoys me about cute is how sometimes the toolbar buttons take a while to come up, am I the only one that experiences this? |
|
Scott McCulloch Site Administrator |
|
|
Jack Hoelz Gold Membership
 Ventrian Master Posts:861


 |
| 5/22/2005 4:49 AM |
|
r.a.d. does support templates. And yes Scott, the load time is what really moved me towards r.a.d. Andrew, I agree completly, the competition is great and is pushing both to develop a better product. I had a most difficult time choosing. |
|
Get The Net!!
Jack Hoelz |
|
|
Dharmesh Shah Registered Users
 Ventrian Addict Posts:69

 |
| 6/01/2005 4:49 PM |
|
OK, I have just purchased Cute Editor (decided that the simpler interface was appealing). I'm prepared to change my mind if need be.  If anyone (especially Scott) has a web.config they're willing to share, that would be great. I'd just like samples of how to turn off many of the toolbar buttons. For example, would be great to only show the buttons that are shown here on these forums. Thanks. -Dharmesh |
|
|
|
|
Andrew Haslett Registered Users
 Ventrian Wiz Posts:102

 |
| 6/01/2005 5:35 PM |
|
Dharmesh,
There are some examples on the website, as well as in the help documentation provided with the software.
Basically, you just remove the buttons from the .config file that you are using.
These config files are in:
\CEHtmlEditorProvider\CuteSoft_Client\CuteEditor\Configuration\
You specify which one you wish to use in the provider (I can't recall which is used by default..)
Instructions on how to do this are in the documentation provided.
Hope this helps.
Cheers, Andrw
|
|
|
|
|
Jack Hoelz Gold Membership
 Ventrian Master Posts:861


 |
| 6/01/2005 6:02 PM |
|
The default webconfig looks like this: <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" /> As you can see config files are called out by role. Just edit the appropriate config file in the folder Andrew indicates to get the desired results. |
|
Get The Net!!
Jack Hoelz |
|
|
Mariette Knap Gold Membership
 Ventrian Master Posts:665


 |
| 6/23/2005 3:29 AM |
|
Posted By Bunce on 5/19/2005 8:00:33 PM Hi Scott.
I added the internal linka few months ago but never got around to posting it. Here's how I did it back in DNN 3.012.
I have a Dropdownlist called InsertDNNPageLink in the config file. This is done by adding the following to the .config file you are using:
Here's the code I used in the provider. Not this was from a slightly older release of Cuteditor - .06 I think.
'Add LinkToDNNPage Dropdown List If Not .ToolControls("InsertDNNPageLink") Is Nothing Then
Dim container As System.Web.UI.Control container = .ToolControls("InsertDNNPageLink").Control
Dim dropdown As CuteEditor.RichDropDownList dropdown = New CuteEditor.RichDropDownList(cntlCE) dropdown.Attributes("onchange") = "CuteEditor_DropDownCommand(this,'InsertLink')"
'must set this css name dropdown.CssClass = "CuteEditorDropDown"
'add the first item (caption) 'the culture-text would be auto replaced.. dropdown.Items.Add("[[Insert Page Link]]", "")
'hide the first item (caption) in the float-panel dropdown.RichHideFirstItem = True
'add the items here every times 'dropdown.Items.Add("http://www.asp.net/")
'load tabs Dim arr As ArrayList arr = GetPortalTabs(PortalSettings.DesktopTabs, -1, False, False, False, False, False)
Dim objTab As DotNetNuke.Entities.Tabs.TabInfo For Each objTab In arr
'Get Dropdown Text To DIsplay Dim sDisplay As String If objTab.Level = 0 Then sDisplay = "" & objTab.TabName & "" Else sDisplay = objTab.TabName End If
dropdown.Items.Add(sDisplay, objTab.TabName, NavigateURL(objTab.TabID)) Next
'add - !!! 'if the statements put before Controls.Add , the statements must be executed every time
container.Controls.Add(dropdown) 'if the statements put after Controls.Add the statements could be executed only the first time
'or add items here if(!IsPostBack) 'If Not Page.IsPostBack Then 'dropdown.Items.Add("Microsoft", "http://www.microsoft.com/") 'dropdown.Items.Add("CuteSoft", "*CuteSoft*", "http://www.cutesoft.net/") 'End If
End If
Cheers, Andrew
|
|
Mariëtte Knap Microsoft MVP |
|
|
Mariette Knap Gold Membership
 Ventrian Master Posts:665


 |
| 6/23/2005 3:31 AM |
|
Posted By Bunce on 5/19/2005 8:00:33 PM Hi Scott.
I added the internal linka few months ago but never got around to posting it. Here's how I did it back in DNN 3.012.
I have a Dropdownlist called InsertDNNPageLink in the config file. This is done by adding the following to the .config file you are using:
Here's the code I used in the provider. Not this was from a slightly older release of Cuteditor - .06 I think.
'Add LinkToDNNPage Dropdown List If Not .ToolControls("InsertDNNPageLink") Is Nothing Then
Dim container As System.Web.UI.Control container = .ToolControls("InsertDNNPageLink").Control
Dim dropdown As CuteEditor.RichDropDownList dropdown = New CuteEditor.RichDropDownList(cntlCE) dropdown.Attributes("onchange") = "CuteEditor_DropDownCommand(this,'InsertLink')"
'must set this css name dropdown.CssClass = "CuteEditorDropDown"
'add the first item (caption) 'the culture-text would be auto replaced.. dropdown.Items.Add("[[Insert Page Link]]", "")
'hide the first item (caption) in the float-panel dropdown.RichHideFirstItem = True
'add the items here every times 'dropdown.Items.Add("http://www.asp.net/")
'load tabs Dim arr As ArrayList arr = GetPortalTabs(PortalSettings.DesktopTabs, -1, False, False, False, False, False)
Dim objTab As DotNetNuke.Entities.Tabs.TabInfo For Each objTab In arr
'Get Dropdown Text To DIsplay Dim sDisplay As String If objTab.Level = 0 Then sDisplay = "" & objTab.TabName & "" Else sDisplay = objTab.TabName End If
dropdown.Items.Add(sDisplay, objTab.TabName, NavigateURL(objTab.TabID)) Next
'add - !!! 'if the statements put before Controls.Add , the statements must be executed every time
container.Controls.Add(dropdown) 'if the statements put after Controls.Add the statements could be executed only the first time
'or add items here if(!IsPostBack) 'If Not Page.IsPostBack Then 'dropdown.Items.Add("Microsoft", "http://www.microsoft.com/") 'dropdown.Items.Add("CuteSoft", "*CuteSoft*", "http://www.cutesoft.net/") 'End If
End If
Cheers, Andrew
Andrew,
Can you help me with this? Where do I add this in the CE provider?
|
|
Mariëtte Knap Microsoft MVP |
|
|