Raccourcis : Contenu - rubriques - sous rubriques
FR

Piste :

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révisionLes deux révisions suivantes
tutoriels:fckeditor [2007/12/17 11:55] laurenttutoriels:fckeditor [2007/12/17 12:01] laurent
Ligne 34: Ligne 34:
 Téléchargez le logiciel [[http://www.fckeditor.net/|FCKeditor]] Téléchargez le logiciel [[http://www.fckeditor.net/|FCKeditor]]
 Décompressez l'archive dans le répertoire /jelix/tutorfck/www/ Décompressez l'archive dans le répertoire /jelix/tutorfck/www/
 +
  
 ===== Création du plugin de template ===== ===== Création du plugin de template =====
Ligne 42: Ligne 43:
   require_once (JELIX_APP_WWW_PATH.'fckeditor/fckeditor.php');   require_once (JELIX_APP_WWW_PATH.'fckeditor/fckeditor.php');
      
-  function jtpl_function_fckeditor( $tpl, $contenu="aucun contenu" ) {+  function jtpl_function_html_fckeditor( $tpl, $contenu="aucun contenu" ) {
     $oFCKeditor = new FCKeditor('FCKeditor1') ;     $oFCKeditor = new FCKeditor('FCKeditor1') ;
     $oFCKeditor->BasePath = $GLOBALS['gJConfig']->urlengine['basePath'] .'fckeditor/';         $oFCKeditor->BasePath = $GLOBALS['gJConfig']->urlengine['basePath'] .'fckeditor/';    

fr/tutoriels/fckeditor.txt · Dernière modification : 2012/04/14 19:41 de laurent

Fils rss des changements récents dans le wiki Creative Commons License