User integration with Easy Profile

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?
Responses (6)
  • Accepted Answer

    Monday, May 23 2016, 11:10 AM - #Permalink
    0
    Hello,

    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 ;
    The reply is currently minimized Show
  • Accepted Answer

    Monday, May 23 2016, 11:14 AM - #Permalink
    0
    I would like to upgrade my account to extended version.

    Can you do that and send me a PayPal request with payment?

    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Monday, May 23 2016, 11:16 AM - #Permalink
    0
    sure, here you have it: http://www.joomlathat.com/index.php?option=com_invoices&view=invoice&id=24251
    The reply is currently minimized Show
  • Accepted Answer

    Monday, May 23 2016, 09:05 PM - #Permalink
    0
    Do I need to reinstall the component? I see that the main file and plugin from the component are the same size as before?

    Is this normal?

    Also I tried with a modified version of the CB plugin for Easy profile and I get the onSearchContacts triggered but not the onObtainContact.

    Any suggestions?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 24 2016, 08:55 AM - #Permalink
    0
    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 reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 24 2016, 12:55 PM - #Permalink
    0
    Germinal 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 Camps
      more than a month ago
      For now we haven't had requests for this component, so for now it's not necessary
      but many thanks anyway for your offering!
    The reply is currently minimized Show
Your Reply