Вход
Главное меню

Subject:*
Name/Email:*
Message Icon:*
       
Select*
Message:*


    


Click the Preview to see the content in action.
Options:*
 
 
 
 
Attach file*
   

Maximum file size: 100Kb;  Allowed extensions: zip jpg gif png  
Images at the max. Size 640 X 800 pixels. 
Confirmation Code*
0 + 3 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
     
*
* = Required

Re: FCKeditor в новостях
by lommaster on 2008/7/26 16:30:37

Сам и нашел ответ :

Открыть /news/include/functions.php
Найти код:
Quote:
case 'fck':
if(!$x22) {
if ( is_readable(XOOPS_ROOT_PATH . '/class/fckeditor/formfckeditor.php')) {
include_once(XOOPS_ROOT_PATH . '/class/fckeditor/formfckeditor.php');
$editor = new XoopsFormFckeditor($caption, $name, $value);
}
} else {
$editor = new XoopsFormEditor($caption, 'fckeditor', $editor_configs);
}
break;



и заменить кодом:
Quote:
case 'fck':
if(!$x22) {
if ( is_readable(XOOPS_ROOT_PATH . '/class/xoopseditor/fckeditor/formfckeditor.php')) {
include_once(XOOPS_ROOT_PATH . '/class/xoopseditor/fckeditor/formfckeditor.php');
$editor = new XoopsFormFckeditor(array('caption'=> $caption, 'name'=>$name, 'value'=>$value, 'width'=>'100%', 'height'=>'400px'));
}
} else {
$editor = new XoopsFormEditor($caption, 'fckeditor', $editor_configs);
}
break;
FCKeditor в новостях
by lommaster on 2008/7/26 14:48:53

Как активировать FCKeditor в новостях? В настройках есть выбор FCKeditor, но не работает.
установлен - XOOPS 2.0.18
- news 1.61
- FCKeditor 2.4.3
Powered by XOOPS © 2001-2023 The XOOPS Project