Bonjour à tous,

J'ai créé mon admin avec le générateur (j'utilise doctrine) tous fonctionne mais j'ai besoin d'un CKeditor sur un champ.
Donc j'ai modifié dans /lib/form/doctrine le formulaire en question :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
$this->setWidgets(array(
		'titre' => new sfWidgetFormInput(),
			'url'    => new sfWidgetFormInput(),
			'content'   => new sfWidgetFormCKEditor(array(
				'jsoptions'=>array('config' => 'fckeditor/config.js')
			)),
			'title' => new sfWidgetFormInput(),
			'keyword' => new sfWidgetFormInput(),
			'description' =>new sfWidgetFormInput()
		));
Le problème est que chaque modification de ce fichier entraîne un erreur dans l'admin lors de l’édition ou la suppression.
Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in C:\wamp\bin\php\php5.2.6\PEAR\symfony\util\sfParameterHolder.class.php on line 53
et :

csrf token: Required.
Donc il y a t'il une possibilité pour utilisé CKeditor via le generator.yml du module ou comment résoudre ce problème ?

Merci