6
I have hard times getting the koivi into the module
since I use the site-wide solution, I put that code in modlink.php:
include XOOPS_ROOT_PATH . "/class/xoopsformloader.php";
and
$TZdescription = new XoopsFormDhtmlTextArea(_MD_DESCRIPTIONC, $description, $description, 10, 60);
$xoopsTpl->assign('xoops_codes', $TZdescription->render());
and in the template: xphns_modlink.html
<tr>
<td align="right" valign="top">
<div align="left"><b><{$lang_description}></b></div>
</td>
<td>
<{$xoops_codes}></td>
</tr>
I get the textarea+Koivi this way, with the data inside, but since I have to use
(_MD_DESCRIPTIONC, $description, $description, 10, 60);
to get the data to the editor, it brings it to also the <FORM NAME="the data insread of the description which is the right name"> too...
How would I get field name and data too?
I really don't like the way the form is handle here ... inside the template .... help is definatly needed
jlm69
I wonder how you got over the error I get about the "description" field which stays empty