Andrei,
Thanks for this but i already tried to implement this ...
$this->setWidgets(array(
'id' => new sfWidgetFormInputHidden(),
'naam' => new sfWidgetFormInput(),
'inhoudnl' => new sfWidgetFormTextareaTinyMCE(
array(
'width'=>550,
'height'=>350,
'config'=>'theme_advanced_disable: "anchor,image,cleanup,help"',
'theme' => sfConfig::get('app_tinymce_theme','advanced'),
),
array(
'class' => 'tiny_mce'
)
)
that's the complete thing i have ...
Kind Regards,
Jan
Andrei Dziahel wrote:
> Hi,
>
> Look into this ticket - http://trac.symfony-project.org/ticket/4952
>
> On Thu, Feb 26, 2009 at 16:18, we-create <[email protected]
> <mailto:[email protected]>> wrote:
>
>
> when i try to call this function with:
>
> 'inhoudnl' => new sfWidgetFormTextareaTinyMCE(
> array(
> 'width'=>550,
> 'height'=>350,
> 'config'=>'theme_advanced_disable:
> "anchor,image,cleanup,help"',
> 'theme' => sfConfig::get('app_tinymce_theme','advanced'),
> )
>
> it shows this in the html:
>
> <tr>
> <th><label for="pagina_inhoudnl">Inhoudnl</label></th>
> <td>
> <textarea class="tiny_mce" name="pagina[inhoudnl]"
> id="pagina_inhoudnl"><p>html hier</p></textarea><script
> type="text/javascript">
> tinyMCE.init({
> mode: "textareas",
> theme: "advanced",
> editor_selector: "tiny_mce",
> width: "550px",
> height: "350px",
> theme_advanced_toolbar_location: "top",
> theme_advanced_toolbar_align: "left",
> theme_advanced_statusbar_location: "bottom",
> theme_advanced_resizing: true
> ,
> theme_advanced_disable: "anchor,image,cleanup,help"
> });
> </script> </td>
> </tr>
>
>
> but i don't get the content ... is this a known issue and does anyone
> knows a fix for this ?
>
>
> Kind regards,
>
> Jan De Coster
>
>
>
>
>
> --
> With the best regards, Andy.
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---