CGContentUtils and cmsms 1.7

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
User avatar
NikNak
Forum Members
Forum Members
Posts: 183
Joined: Fri Oct 02, 2009 2:28 pm

CGContentUtils and cmsms 1.7

Post by NikNak »

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
Last edited by NikNak on Fri Apr 16, 2010 11:42 am, edited 1 time in total.
User avatar
airelibre
Dev Team Member
Dev Team Member
Posts: 99
Joined: Tue Dec 01, 2009 3:42 pm
Location: Alsace // France

Re: CGContentUtils and cmsms 1.7

Post by airelibre »

Hi,

I've got the same problem. Maybe this module is still under development ?
Thanks if someone has the solution.
Mathieu // AireLibre
alexbuckland

Re: CGContentUtils and cmsms 1.7

Post by alexbuckland »

Im having the same trouble.

It also affects all the help files for other CalGuy Modules aswell, very frustrating.

Nobody found a fix for this yet?
User avatar
airelibre
Dev Team Member
Dev Team Member
Posts: 99
Joined: Tue Dec 01, 2009 3:42 pm
Location: Alsace // France

Re: CGContentUtils and cmsms 1.7

Post by airelibre »

Hi,

I tried again with the 1.8.2, it works now
Mathieu // AireLibre
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: CGContentUtils and cmsms 1.7

Post by Dr.CSS »

That module has been updated meaning it most likely doesn't work in 1.7.* and we don't technically support any but the last 2 versions of CMS Made Simple...
Post Reply

Return to “Developers Discussion”