0
* 當我在JPane中使用第二個JEditor時,第二個JEditor沒有正確顯示。我剛拿到一個textarea。代碼工程Joomla 1.5。我正在調整我的代碼到Joomla 1.7。 *我不能在我的Joomla組件中使用第二個JFactory :: getEditor
echo "<div id='editor1'>";
$editor =JFactory::getEditor();
$params = array('smilies'=> '0' ,
'style' => '0' ,
'layer' => '0' ,
'table' => '0' ,
'clear_entities'=>'0'
);
echo $editor->display('desc', '', '567', '400', '20', '20', false, $params);
echo "</div>";
echo $paneTab->endPanel();
echo $paneTab->startPanel("İngilizce Açıklama","engaciklama");
echo "<div id='editor2'>";
$editor2 =JFactory::getEditor();;
$params = array('smilies'=> '0' ,
'style' => '0' ,
'layer' => '0' ,
'table' => '0' ,
'clear_entities'=>'0'
);
echo $editor2->display('edesc', '', '567', '400', '20', '20', false, $params);
echo "</div>";