Ok first of all I've now added the spaw module found
HERE But I have a problem, heres what I've done...........
In the admin directory for Xdirectory I've modified index.php as the following
added
//Insert spaw start
$module_handler = &xoops_gethandler('module');
$module = &$module_handler->getByDirname('spaw');
if (is_object($module) && $module->getVar('isactive'))
{
include_once XOOPS_ROOT_PATH . "/modules/spaw/spaw_control.class.php";
}
//insert spaw finish
on line 38 after include '../include/functions.php';
commented out
// editied out echo "<tr><td align="right" valign="top" nowrap>"._MD_DESCRIPTIONC."</td><td>n";
//edited out xoopsCodeTarea("description",60,8);
//edited out xoopsSmilies("description");
//echo "<textarea name=description cols=60 rows=5></text>n";
on lines 268 - 271, and inserted
echo "</p><p><b>"._MD_DESCRIPTIONC."</b><br /><br />n";
//xoopsCodeTarea("description", 60, 15);
$sw = new SPAW_Wysiwyg( 'description', $link.description, 'en', 'full', 'default', '99%', '600px' );
$sw -> show();
xoopsSmilies("description");
same again on lines 377 - 380
//edited out echo "<tr><td valign="top">"._MD_DESCRIPTIONC."</td><td>";
//edited out xoopsCodeTarea("description",60,8);
//edited out xoopsSmilies("description");
and inserted
echo "</p><p><b>"._MD_DESCRIPTIONC."</b><br /><br />n";
//xoopsCodeTarea("description", 60, 15);
$sw = new SPAW_Wysiwyg( 'description', $link.description, 'en', 'full', 'default', '99%', '600px' );
$sw -> show();
xoopsSmilies("description");
Although spaw now shows up when modifying the listing and it looks ok in the design view, when I actualy update the listing and go to view the page, it shows up as html text
where am I going wrong????????????