2
Hi,
First step after installing new pack of editors is clearing xoops_data/caches/xoops_cache. This will make new editors available.
Fix for news module:
Edit news/include/functions.php and make this change:
function news_isX22()
{
return (substr(XOOPS_VERSION, 0, 9) >= "XOOPS 2.2") ? true : false;
}
For wfchannel we have to look into wfresource first.
Open file wfresource/class/xoopsforms/formelement.php and make sure the file ends like this:
/**
* Generates output for the element.
*
* This method is abstract and must be overwritten by the child classes.
*
* @abstract
*/
function render() {
}
/**
* get the caption for the element
*
* @param bool $encode To sanitizer the text?
* @return string
*/
function getTitle($encode = false)
{
if (strlen($this->_description)>0)
return $encode ? htmlspecialchars(strip_tags($this->_caption.' - '.$this->_description), ENT_QUOTES) : strip_tags($this->_caption.' - '.$this->_description);
else
return $encode ? htmlspecialchars(strip_tags($this->_caption), ENT_QUOTES) : strip_tags($this->_caption);
}
}
?>