Forums / Developer / Add a field "tiny mce" in a class
Fabien Audin
Thursday 01 April 2010 2:42:47 am
Hi all,
I have a class "forum" to create forums on my website.For the forum's description I want to show a tiny mce editor. I started by creating a new datatype called "tiny MCE" so now I have "tiny MCE" in my fields list. Good!
When I add a tiny MCE field in a class and create an instance of this class, I can see my editor.
But I don't really understand how to write the templates "edit" and "view" to write the right "name" attribute for my textarea tag.
Do you understand my problem? And do you have any idea about the templates' structures?