Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Hacking Emoticons/Smilies into Telerik RadeditorHacking Emoticons/Smilies into Telerik Radeditor
Previous
 
Next
New Post
5/20/2010 11:36 AM
 

The new editor came without the community favourite  - smiley faces or emoticons.  Below I offer an administrator hack that will give that functionality back to the people. 

The snippets button is a really powerful way to provide user with short cuts to standard code blocks.  You set the contents of the list  in the /Providers/HtmlEditorProviders/Telerik/Config/ToolsDefault.xml file.

Simply place the block below just before the < / root> element and upload.  The img tag in the name allows the editor to display the icon in the list.  It uses the files that came with the FCK editor but, of course, you could also customize these for you own icons.

<snippets>
  <snippet name="<img src='/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/images/smiley/msn/regular_smile.gif' /> Smile">
    
  snippet>
  <snippet name="<img src='/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/images/smiley/msn/teeth_smile.gif' /> Big Smile">
    
  snippet>
  <snippet name="<img src='/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/images/smiley/msn/sad_smile.gif' /> Sad">
    
  snippet>
  <snippet name="<img src='/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/images/smiley/msn/confused_smile.gif' /> Confused">
    
  snippet>
  <snippet name="<img src='/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/images/smiley/msn/cry_smile.gif' /> Cry">
    
  snippet>
  <snippet name="<img src='/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/images/smiley/msn/embaressed_smile.gif' /> Embaressed">
    
  snippet>
  <snippet name="<img src='/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/images/smiley/msn/tounge_smile.gif' /> Tounge">
    
  snippet>
  <snippet name="<img src='/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/images/smiley/msn/omg_smile.gif' /> OMG!">
    
  snippet>
snippets>

EDIT: add this line to /Providers/HtmlEditorProviders/Telerik/EditorOverride.css to make the button look like a smiley

.reTool .InsertSnippet{background: url('/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/images/smiley/msn/regular_smile.gif');}

 
New Post
5/21/2010 4:22 PM
 
I did this and I see no additions to the tool bar?? Where am I supposed to see something? I put the code right at the bottom of the file just before the /root tag.
 
New Post
5/21/2010 8:12 PM
 
This populates the snipet drop down menu.  Snipets are a pre-enabled button that looks like a HTML tag and plus sign.
 
New Post
5/21/2010 8:12 PM
 
This populates the snipet drop down menu.  Snipets are a pre-enabled button that looks like a HTML tag and plus sign.
 
New Post
5/22/2010 12:49 AM
 
Ahh ok found them... however now the issue when I click on the pull down button for code snippets I get a 'enter your user name and password for http://www.wodnews.net' prompt box. Any help appreciated.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Hacking Emoticons/Smilies into Telerik RadeditorHacking Emoticons/Smilies into Telerik Radeditor


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out