CGContentUtils and cmsms 1.7
Posted: Fri Apr 16, 2010 11:35 am
Hi
Im running cmsms 1.7
I've just tried to install CGContentUtils but get the following error:
Fatal error: Call to undefined method CGContentUtils::RegisterBulkContentFunction() in /home/odchostc/public_html/sgtestv5/modules/CGContentUtils/CGContentUtils.module.php on line 68
In the code, the relevent section is only used if cmsms is greater or equal to 1.7
public function __construct()
{
parent::__construct();
global $CMS_ADMIN_PAGE;
if( $CMS_ADMIN_PAGE && (version_compare(CMS_VERSION,'1.7') >= 0) )
{
$this->RegisterBulkContentFunction($this->Lang('advanced_copy'),'admin_copycontent');
}
}
Thanks
Nik
Im running cmsms 1.7
I've just tried to install CGContentUtils but get the following error:
Fatal error: Call to undefined method CGContentUtils::RegisterBulkContentFunction() in /home/odchostc/public_html/sgtestv5/modules/CGContentUtils/CGContentUtils.module.php on line 68
In the code, the relevent section is only used if cmsms is greater or equal to 1.7
public function __construct()
{
parent::__construct();
global $CMS_ADMIN_PAGE;
if( $CMS_ADMIN_PAGE && (version_compare(CMS_VERSION,'1.7') >= 0) )
{
$this->RegisterBulkContentFunction($this->Lang('advanced_copy'),'admin_copycontent');
}
}
Thanks
Nik