3
I finally got it working with News so I guess I wasn't following the instructions to see if it works or not using the sample in documentation. But anyhow, I cannot integrate the editor into MX Directory since it is somewhat different from News module.
Also, I noticed that the Tinyeditor appears for the "description" text box but the "description" header is not appearing so I think it is not calling the description tag or something like that. So I guess it is not link to the "$modlinkform" very well.
$modlinkform->addElement(new XoopsFormTinyeditorTextArea(_MD_DESCRIPTIONC , 'moddesc' , null ,'100%', '400px'), false);
I also checked the functions.php and xoops_version.php for mxdirectory but these is nothing to do in there.
And, I get these notices:
When loading the submit form
---------------------------------------------
Warning: Invalid argument supplied for foreach() in file /class/xoopseditor/tinyeditor/formtinyeditortextarea.php line 58
After submitting the form
---------------------------------------------
Notice: Undefined index: moddesc in file /modules/mxdirectory/admin/index.php line 1208
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in file /class/logger_render.php line 58
Notice: Undefined index: OS in file /class/logger_render.php line 104
"moddesc" doesn't work well with tinyeditor.
BTW, I am using a fresh install of XOOPS 2.016, News 1.44, and MXDirectory 3.01 modules for testing out the Tinyeditor module on a testing site. My main site is heavily modded so I assumed it was my modifications that the editor is not working at all but I do now have installed properly for News but not MX Directory.