Configuring tinyMCE

First of all, you need to install tinyMCE on your own. Go to the download page, and put the extracted content inside your project's web directory. The downloaded archive includes tinyMCE usage examples, you may remove them and include only the tiny_mce directory inside your /web/js directory.

Right after including the tinyMCE files don't forget to attach them to the application: go to the backend/config/view.yml file and add the tiny_mce.js file. It should look similar to the following:

javascripts: [ /js/tiny_mce/tiny_mce.js ]

TinyMCE is properly installed in our app already. Now it's time to set the inputs to use it.

Advanced tinyMCE configuration

Lots of us may create websites for non-English communities, therefore custom language support is needed. Of course, there are more specific attributes you may want to change. Unfortunately, the sfWidgetFormTextareaTinyMCE class provided with the plugin is hardly configurable. The best solution is to create a custom class extending it and override all the attributes you need.

Create a sfWidgetFormTextareaTinyMCECustom class in the /lib/widget directory of your project:

Let's get our custom language working with the tinyMCE now. Go to the language pack download page. Choose the language(s) you want to install, check them (do not download the xml files since you'd have to compile them into the .js files) and press the download just below the end of the list. Move the zip archive into the tiny_mce directory and extract it there. All language files will be extracted in the appropriate places. So far, so good.

I tried all this stuffs, but for me in place of textarea nothing is coming.i have copied the sfFormExtraPlugin in plugins folder and made the desired change in projectConfiguration filei have downloded the Tinymyce inside web/js folderi have changed the view.yml fileAnd now when i am calling it with $form its displaying nothing (visibility is hidden.What can be the problem? I am using symfony 1.4 Please suggest