i ve found it, i dont know how to make it beutiful, i just hack it that way,
hopefully hte creator of this extention read this and find better way to do it,
toogleModeTinyMCE are no longger exist, but in the EtinyMCE.php there is still these link,
and snip to tinyMCE example and do little change on EtinyMCE.php
//these code wrote in the end of the file , make it some thing like this
$label = $this->switchLabels[($this->mode=='html'?0:1)];
$css = ($this->labelClass !== '') ? array('class'=>$this->labelClass) : array('style'=>$this->labelStyle);
$switchOptions = array_merge(array('id'=>$id.self::SWITCH_SUFFIX,
'onclick'=>"tinymce.execCommand('mceToggleEditor',false,'$id')"), $css);
//$uri = rawurlencode('$("#'.$id.'").toggleModeTinyMCE('.$jsToggleLabels.')');
$uri=";";
$link = CHtml::link($label, 'javascript:'.$uri, $switchOptions);
$switch = CHtml::tag('div', array(), CHtml::tag('span', array(), $link));
$html = CHtml::tag('div', array(), $textarea.$switch);
to support the $id variable, you need to pass it on the widget wrote becamoe somethin glike this
<?php $this->widget('application.extensions.tinymce.ETinyMce',
array( 'name'=>'NotesModel[note_desc]',
'id'=>'NotesModel_note_desc', //see right here, the toggle mode need this textatrea id
'value' => $model->note_desc,
'options'=> array( 'mode' =>"textareas",
'theme' => 'advanced',
'height' => '500',
hope fully it jhelp, and dear extention writer may this give aclue,
regard…