On Jul 22, 12:28 am, Greg Freeman <[EMAIL PROTECTED]> wrote:

> How do you get all of tinymce's options to display using the textarea
> tag helper?

You specify all the options you want the helper.

In the action I set a variable (since I use this in several actions of
the same module):

// Set TinyMCE options for textareas
$this->rich_editor='rich=true
tinymce_options=browser:"msie,gecko,opera",
mode:"textareas",theme:"advanced",plugins:"table,imagemanager",theme_advanced_resizing:"true",theme_advanced_resize_horizontal:"false",theme_advanced_resizing_use_cookie:"false",theme_advanced_layout_manager:"SimpleLayout",theme_advanced_toolbar_align:"center",theme_advanced_buttons1:"cut,copy,paste,separator,undo,redo,separator,sub,sup,separator,charmap,separator,link,unlink,image,separator,help",theme_advanced_buttons2:"tablecontrols",theme_advanced_buttons3:"bold,italic,underline,strikethrough,formatselect,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,bullist,numlist,outdent,indent,separator,removeformatmanager,code"';

Then in the template I do:
<?php echo textarea_tag('content', $sf_params->get('content'),
'size=71x20 '.$rich_editor); ?>


The list of options and controls is at the Moxiecode site,


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to