CommentBox RadEditor
Two things :)
1) How do I change the comment box radeditor to use the div based content area option...
2) You should hide the toolbars with a display:none...the toolbar icons "blink" because when the page loads they're visible, then I assume you add in the formatting options link and hide them...if they were hidden initally the we wouldn't get the pop.
Hello Steve,
I am not sure what you mean by "the div based content area option". However, you can change comments templates if you do the following:
<
sf:ContentView
id
=
"commentsListView"
ControlDefinitionName
=
"NewsCommentsFrontend"
MasterViewName
=
"CommentsMasterView"
ContentViewDisplayMode
=
"Master"
LayoutTemplatePath
=
"~/ExternalTmpl/Comments/CommentsMasterView.ascx"
runat
=
"server"
/>
<
sf:ContentView
id
=
"commentsDetailsView"
ControlDefinitionName
=
"NewsCommentsFrontend"
DetailViewName
=
"CommentsDetailsView"
ContentViewDisplayMode
=
"Detail"
LayoutTemplatePath
=
"~/ExternalTmpl/Comments/CommentsDetailsView.ascx"
runat
=
"server"
/>
As for the second thing, it is logged as bug 107070 and will be fixed in of the next internal releases.
This is what I mean
Thank you for the code, I think I will use this as it contains a CAPTCHA! :D
Hi Katia,
is it possible to use these templates for the comments section in Blog posts also? If they are different, could you provide me with the code, please.
Thanks
Matthias
Hello Matthias,
The templates can be used for all comments sections in Sitefinity. Please download the Sitefinity SDK to get the latest versions of the templates.
Greetings,
Radoslav Georgiev
the Telerik team