0
I am using Invoice manager Standard, do you have developer documentation to explain how to develop a plugin to search contacts?
I read you have such a plugin for CB I would like to develop one for Easy Profile as t is not available. Is it possible to do with Invoice manager Standard?
I read you have such a plugin for CB I would like to develop one for Easy Profile as t is not available. Is it possible to do with Invoice manager Standard?
Responses (6)
-
Accepted Answer
0Hello,
You will need the Extended version for that...
we don't have a developer documentation right now (sorry!) but it should not be difficult for you to do if you're a developer, you just need to "mimic" the CB plugin (or other plugin).
Basically there's just one function you need to have in your plugin, named:
function onSearchItems($keywords)
which should return an object containing the items, with each item containing a list of required fields by name
$return = new stdClass();
$return->component = $this->component ;
$return->items = $items ;
return $return ; -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0Germinal Camps wrote:
hi,
the onObtainContact is not used anymore on version 2.0, only the onSearchContacts is needed (please check out the hikashop plugin, for example)
The hikashop refers to products. But I got an idea. Also the CB plugin confused me a bit and the virtuemart where they had this onObtainContact.
I think I am on the right track. Would you like me to send it to you in order to include it in your main pack?-
Germinal Campsmore than a month agoFor now we haven't had requests for this component, so for now it's not necessary
but many thanks anyway for your offering!
-
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »