Plug in question

  • Posts: 252
  • Thank you received: 1
8 years 5 months ago #242416

-- HikaShop version -- : HikaShop Business 2.6.3
-- HikaMarket version -- : HikaMarket Multivendor 1.7.0

Hi,
I wrote a plug-in, have installed and published it successfully . The function is whenever a vendor was created, a vendor folder be created.
But it seems never be executed when a vendor was created.
Because the vendor was created by back-end, do I need to install the plug-in into back-end? and how do I do that?

Best Regards
Scott

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 5 months ago #242436

Hi,

The HikaMarket trigger "onAfterVendorCreate" is called every time a new vendor is created (otherwise it's the trigger "onAfterVendorUpdate").
To get the HikaMarket trigger, you need to be sure that your plugin is right in the group "hikamarket".
Plugins do not have a "front-end" or "back-end" context, all "hikamarket" plugins are include when HikaMarket want to perform a trigger (for his plugins).

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 252
  • Thank you received: 1
8 years 5 months ago #242629

Hi,
I‘ve checked my program like the screenshot shows,
and the xml file is set to hikamarket group, but the plug in still doesn't execute.
Do I miss anything?



Best Regards
Scott

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 5 months ago #242648

Hi,

See : www.hikashop.com/forum/19-hikamarket/884...a-custom-plugin.html
Please check that you right have installed the plugin through Joomla and you can see it in your Joomla backend.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.064 seconds
Powered by Kunena Forum