2
ok, I've get something ;)
Two files to modify :
1. modules/extgallery/admin/public-category.phpAfter
Quote:
include '../../../class/xoopsformloader.php';
include 'function.php';
Paste :
include XOOPS_ROOT_PATH.'/modules/extgallery/include/functions.php';
After
Quote:
$form->addElement(new XoopsFormText(_AM_EXTGALLERY_WEIGHT, 'cat_weight', '4', '4', $cat->getVar('cat_weight')),false);
Paste :
$editor = gal_getWysiwygForm(_AM_EXTGALLERY_DESC,'cat_desc', $cat->getVar('cat_desc','e'), '100%', '400px', 'cat_desc_hidden');
if($editor) {
$form->addElement($editor, false);
}
After (again)
Quote:
$form->addElement(new XoopsFormText(_AM_EXTGALLERY_WEIGHT, 'cat_weight', '4', '4', $cat->getVar('cat_weight')),false);
Paste :
$editor = gal_getWysiwygForm(_AM_EXTGALLERY_DESC,'cat_desc', '', 15, 60, 'cat_desc_hidden');
if($editor) {
$form->addElement($editor, false);
}
2. modules/extgallery/class/catHandler.phpAfter
Quote:
$this->externalKey['photo_id'] = array('className'=>'publicphoto', 'getMethodeName'=>'getPhoto', 'keyName'=>'photo', 'core'=>false);
Paste :
$this->initVar('dohtml', XOBJ_DTYPE_INT, 1, false);