Improsys integration

jenlampton - April 26, 2009 - 18:04
Project:Contact Importer
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:jenlampton
Status:active
Description

Hi, I'm working on an integration module for improsys. Wondering if anyone else has done the same, but will post my work here when done.

#1

dalin - June 29, 2009 - 15:17

Any progress on this?
I can make you a co-maintainer if you'd like.

#2

doublejosh - July 23, 2009 - 01:42

Did it, it was pretty straightforward.

Wait a minute... right now I'm totally plagued by an Access Denied error that I'm fairly certain is coming from an inability to save the configuration to Improsys (on the Contact Importer settings page.)

BTW: All I did was copy the Octazen submodule, change the file names, change info file details, find and replace the .module function names, then set the .module info variables... then upload the Improsys files into a submodule-subfolder.

#3

dalin - July 23, 2009 - 00:09

Cool, care to upload a patch?

#4

dalin - July 23, 2009 - 15:41

Make sure that the path to the included library is correct in hook_retrieval_engine_info(). Note that the path is relative to the location of your improsys_engine.module so if the library is in
sites/all/modules/octazen_engine/improsys_engine/improsys/improsys.php
then hook_retrieval_engine_info() would look something like:

function improsys_engine_retrieval_engine_info() {
return array(
'name' => 'Improsys',
'url' => 'http://www.improsys.com/',
'inc' => 'improsys/improsys.php',
);
}

#5

dalin - July 23, 2009 - 15:42

p.s. don't edit your comments, no one will get email notifications.

#6

doublejosh - July 24, 2009 - 22:54

Thanks for all the assistance. I'll do my best to make this something we can pass along and include for others.

I double checked the path in the .info file and am still at the point where I can't get the engine check box setting to stick on the Contact Importer settings page.

So I'm still stuck with this "A retrieval engine has not yet been chosen" in my status reports.

#7

dalin - July 26, 2009 - 04:18

well the "A retrieval engine has not yet been chosen" error is different. It means that you haven't chosen which engine to use at admin/settings/contact_importer

As you develop the new engine I recommend installing the devel module and using the dpm() function to print out the contents of a variable. Highly useful.

#8

doublejosh - July 27, 2009 - 17:38

This has been my issue the whole time I believe. As written above, I have an "inability to save the configuration to Improsys (on the Contact Importer settings page.)" Any thoughts on why this wouldn't stick?

#9

jenlampton - August 4, 2009 - 23:47

Hey sorry I fell off the map here guys, I struggled with Improsys for a while and then went back to Octazen. Here's what I had, don't know if it will help you doublejosh, but my settings saved no problem.

Jen

AttachmentSize
improsys_engine.tgz 49.52 KB
 
 

Drupal is a registered trademark of Dries Buytaert.