I have placed the class in to the libraries folder along with the git repo that was also mentioned in the read me. Also left a copy of the lib in the module folder just encase that this module had a fall back location. And both the module and the library module are enabled.

When trying to view the modules' settings page it tells me that it can't find the class file. I looked up on line 20 of the campaignmonitor.admin.inc. What I found was:

$cm = CampaignMonitor::getConnector();

There is no fallback to the module's lib folder or to some sort of helpful admin screen with possible suggestion as to what was missing. I think this would be helpful unless i'm completely misunderstanding the install process of this module.

We are also using beta4 on another site and this worked fine because the admin page provides you a location to tell the module where the class is.

Comments

cableman0408’s picture

You should not change anything inside the modules folder or download anything else here other then the module code. Simply download it to to your module folder. If you don't run multi-site, its sites/all/modules/campaignmonitor.

The content of the modules lib folder is simply a wrapper class and should not be touched. It uses the libraries module to detect the location of the createsend-php API library, which should be clone into sites/all/libraries/campaingmonitor.

So the complete setup consists of two parts the module and the PHP API library from campaign monitor. The API library is not packed with the module as this would violate Drupal's licenses.

illmatix’s picture

Yeah that's what i ended up doing with RC2 but when browsing to the module settings page I would get an error where it wasn't able to locate the wrapper class.

xtfer’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)