Does the tinyMCE widget used for a I18n field ?
Because I managed to make the widget work without changing anything.
I was doing this for a translated field called texte :
$this->widgetSchema['texte'] = new
sfWidgetFormTextareaTinyMCE(array(
'width' => 550,
'height' => 350,
'config' => 'theme_advanced_disable: "anchor,image,cleanup,help"',
), array(
'class' => 'tinyMCE'
));
But if I do this :
$this->widgetSchema['fr']['texte'] = new
sfWidgetFormTextareaTinyMCE(array(
'width' => 550,
'height' => 350,
'config' => 'theme_advanced_disable: "anchor,image,cleanup,help"',
), array(
'class' => 'tinyMCE'
));
It works very well.
So it is not a bug but a lack of documentation about I18n and widget or I
didn't get it...
And a bad error message.
On Fri, Feb 27, 2009 at 2:28 PM, Denis Fingonnet <[email protected]>wrote:
> I'll keep an eye on it.
>
> Thank you
>
>
> On Fri, Feb 27, 2009 at 1:43 PM, Crafty_Shadow <[email protected]>wrote:
>
>>
>> Ticket with patch created, the rest is up to fabien:
>>
>> http://trac.symfony-project.org/ticket/5986
>> >>
>>
>
>
> --
> Denis Fingonnet
>
--
Denis Fingonnet
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---