10
Hey Tripmon
Can you take a look @
https://xoops.org/modules/newbb/viewto ... id=155115#forumpost155115and see what am I doing wrong ?
I try to enable the Kiovi wide-site-hack in MXdirectory, but has some problems with it.
The only way to get the wysiwyg + field data from the database is this:
$TZdescription = new XoopsFormDhtmlTextArea(_MD_DESCRIPTIONC, $description, $description, 10, 60);
$xoopsTpl->assign('xoops_codes', $TZdescription->render());
but of course it should be:
$TZdescription = new XoopsFormDhtmlTextArea(_MD_DESCRIPTIONC, 'description', $description, 10, 60);
$xoopsTpl->assign('xoops_codes', $TZdescription->render());
I called the "formloader" :
include XOOPS_ROOT_PATH . "/class/xoopsformloader.php";
All should work to my opinion, but, form is bringing me the "1008" error that the "description field is empty (in both of the codes above)

==================== ===========
and by the way, 2 checkboxed @ admin for using the kiovi/wide-site hack will be very usefull @ MXdir