Hey i'm trying to integrate the inbetween module with the profile page, so our users can make their own profiles. I changed some lines in modules\profile\include\form.php:
added the last line:
$fieldtypes = array('checkbox' => _PROFILE_AM_CHECKBOX,
'date' => _PROFILE_AM_DATE,
'datetime' => _PROFILE_AM_DATETIME,
'group' => _PROFILE_AM_GROUP,
'group_multi' => _PROFILE_AM_GROUPMULTI,
'language' => _PROFILE_AM_LANGUAGE,
'radio' => _PROFILE_AM_RADIO,
'select' => _PROFILE_AM_SELECT,
'select_multi' => _PROFILE_AM_SELECTMULTI,
'textarea' => _PROFILE_AM_TEXTAREA,
'dhtml' => _PROFILE_AM_DHTMLTEXTAREA,
'textbox' => _PROFILE_AM_TEXTBOX,
'timezone' => _PROFILE_AM_TIMEZONE,
'yesno' => _PROFILE_AM_YESNO,
'inbetween'=>'inbetween');
and yeah here i added:(also in form.php)
case "autotext":
$form->addElement(new XoopsFormTextArea(_PROFILE_AM_DEFAULT, 'field_default', $field->getVar('field_default', 'e')));
break;
case "inbetween":
if ( is_readable(XOOPS_ROOT_PATH . "/class/xoopseditor/inbetween/forminbetweentextarea.php")) {
include_once(XOOPS_ROOT_PATH . "/class/xoopseditor/inbetween/forminbetweentextarea.php");
$editor = new XoopsFormInbetweenTextArea(array('caption'=>$caption, 'name'=>$name, 'value'=>$value, 'width'=>'100%', 'height'=>'400px'));
}
break;
Now i can actually choose to use inbetween as editor for my "make you're profile field", but when i take a look, the field just doesn't show up, i can't type anything..
Details:
xoops 2.2.4
GZip-Compression turned off in the inbetween admin panel
PHP Version 4.4.0
Linux (yes i chmodded everything)(checkdubblecheck)
I could really need some help here, thanks