php
unread,Jun 10, 2011, 11:42:49 AM6/10/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Pluf Users
salut tous le monde,
je veu intégrer tinymce dans textarea
dans Form:
$this->fields['content'] = new Pluf_Form_Field_Varchar(
array('required' => true,
'label' => __('Text'),
'initial' => '',
'widget' =>
'Pluf_Form_Widget_TinyMCEInput',
'widget_attrs' => array(
'tinymce_url' =>
Pluf::f('tinymce_url'),
'editor_config'
=> Pluf::f('tinymce_options'),
),
));
dans le fichier de configuration:
$cfg['tinymce_url'] = '/var/www/tiny_mce/tiny_mce.js';
$cfg['tinymce_options'] = array(
/*
* already set in TinyMCEInput.php
'mode' => 'textareas',
'include_tinymce' => true,
'theme' => 'simple',
*/
'theme' => 'advanced', // rewriting option
'button_tile_map' => true,
'theme_advanced_toolbar_location' => "top",
'theme_advanced_toolbar_align' => "center",
'theme_advanced_statusbar_location' => "bottom",
'theme_advanced_resizing' => true,);
mais le probléme tinymce n'apparaît pas,textarea vide,s'i vous plaît
aidez moi,j'ai besoin de votre aide,merci