CMS MADE SIMPLE FORGE

PayPalButtonMaker

 

[#7530] Make compatible with CMSMS v10+

avatar
Created By: Prue Rowland (psy)
Date Submitted: 2012-01-29 19:05

Assigned To:
Resolution: None
State: Open
Summary:
Make compatible with CMSMS v10+
Detailed Description:
Would really like to use this module but it's currently incompatible with CMSMS
v10.

Suggested changes:

* Replace all references to 
       $ppbm=&$gCms->modules['PayPalButtonMaker']['object']; 
  with 
     if (!$ppbm=&$gCms->GetModuleInstance('PayPalButtonMaker') {
          $error .= 'Could not get the PayPalButtonMaker module';
          return;
}

* Declare vars at beginning of function, eg in action.save_ACTptions.php
function uploadImage, declare
    $newWidth = '';
    $errors = '';

* Please add 'AUD' ($ sign) to the currency lists.

Also, in imagefiles.php, function resize, there is a reference to a module
called 'Cars'???? Not sure what this is about and there is no such module in the
Forge.



History