// this is in the template the editors content came from $smarty->Assign('mail_shot',$db_col) {php} $MS = $this->get_template_vars('mail_shot'); require( '../libs/FCKeditor/fckeditor.php' ) ; $oFCKeditor = new FCKeditor('body_text') ; $oFCKeditor->Height = '400' ; $oFCKeditor->BasePath = '../libs/FCKeditor/'; $oFCKeditor->Value = $MS['body_text']; $oFCKeditor->Create() ; {/php}