Hello, I would like to use SPAW modules comes with TinyD-2.30 with other modules.
Some modules has SPAW options and these modules has following or similar codes: To be able to use TinyD's SPAW in /common/spaw, what should I change to this code?
Thanks
case 'spaw': if(!$x22) { if (is_readable(XOOPS_ROOT_PATH . '/class/spaw/formspaw.php')) { include_once(XOOPS_ROOT_PATH . '/class/spaw/formspaw.php'); $editor = new XoopsFormSpaw($caption, $name, $value); } } else { $editor = new XoopsFormEditor($caption, 'spaw', $editor_configs); } break;