11
You can get the RC3 version of Catads 1.53
here on Sourceforge or from
here on the Xoops Dev Forge.There are a just a couple of small PHP notices to fix but the module works OK as far as I know. I haven't had time to update it at all this year, but I'll try and get a final version out by Christmas.
@ Satrebil
Many thx for posting that code.
@Mamba
You need to turn off debug on dev.xoops.org.
@jasXoop
Quote:
if ($xoopsModuleConfig['bbcode'] == 1) {
$text_annonce = new XoopsFormDhtmlTextArea(_MD_CATADS_TEXTE_S.'*', "ads_desc", $ads_desc);
} else {
$text_annonce = new XoopsFormTextArea(_MD_CATADS_TEXTE_S.'*', "ads_desc", $ads_desc);
} else {
$text_annonce = new ???????????????????(_MD_CATADS_TEXTE_S.'*', "ads_desc", $ads_desc);
} else {
$text_annonce = new ???????????????(_MD_CATADS_TEXTE_S.'*', "ads_desc", $ads_desc);
}
Yes, basically that is what would be needed.
There's a bit of work involved to add TinyMCE as an permanent module option because the editor is located in different places and the code to invoke it is also different depending on the version of Xoops. To keep the module usable in older versions of Xoops some version and/or file detection is also required.
When I get back, I'll take a look at getting the DHTML editor to support HTML as an option using the code posted by Satrebil as that might be a bit easier to implement.
A thread is for life. Not just for Christmas.