ASPX templates
Version 4.x > ASPX templates > CMSHTMLEditor control in template View modes: 
User avatar
Member
Member
dmco - 12/7/2009 8:58:34 PM
   
CMSHTMLEditor control in template
Hi there

Is it possible to use the kentico HTML editor control in a page template/webpart .i.e. to use it outside of CMSDesk?

I tried to use it in one of my webparts but keep getting a js error complaining that FCKEditor is undefined.

Cheers

dmco

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 12/9/2009 6:40:00 AM
   
RE:CMSHTMLEditor control in template
Hi,

You can try to use the User contributions module, which allows you to edit the content on the live site.

If you are using Free edition, user contributions are not available, so you need develop it. You can take inspiration in the forums controls and files and also in \CMSSiteManager\Support\SupportIssue.aspx(.cs) files.

Best Regards,
Juraj Ondrus

User avatar
Member
Member
dmco - 3/9/2010 2:46:13 PM
   
RE:CMSHTMLEditor control in template
Hi there

I don't actually want to edit content, I just want to be able to enter text into an html editor that I can then get as a string - i.e. just generic HTML editor functionality.

We are using the Enterprise edition, but don't have a source code license.

Thanks very much

User avatar
Kentico Support
Kentico Support
kentico_radekm - 3/25/2010 12:21:21 PM
   
RE:CMSHTMLEditor control in template
Hello.

If you need some functionality out of the possibilities of a user contribution module, I would recommend you to develop a custom web part (http://devnet.kentico.com/docs/devguide/developing_web_parts.htm) and integrate CKEditor as per your needs (CKEditor is a third party component integrated in Kentico CMS). You can find more info about this component here: http://ckeditor.com/

Best Regards,
Radek Macalik