Plugin not activating correctly

  • Posts: 634
  • Thank you received: 16
8 years 1 month ago #253190

-- HikaShop version -- : 2.6.0
-- HikaMarket version -- : 1.6.7
-- Joomla version -- : 3.6.3
-- PHP version -- : 5.6.26
-- Browser(s) name and version -- : Google Chrome 53.0.2785.143, Safari 9.1 (11601.5.17.1)

Hi,

I'm using a plugin to help my component to insert little code in the vendors frontend editing form.

My plugin has two triggers: onBeforeRender and onBeforeProductUpdate.

The problem it's sometimes the plugin doesn't trigger any of the triggers programmed, so it doesn't load .js and .css.

Any idea?

Thanks in advance.

-- Víctor

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 1 month ago #253192

Hi,

If your plugin is an HikaShop or HikaMarket plugin ; it might not be included in every pages.
Sometimes, if there is no trigger in HikaShop or HikaMarket, the plugins are not loaded for the page generation.
It is really rare but it might be possible.

In that case, you can see to move your plugin in the "system" group ; to be sure that it will be loaded for every pages.

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.
The following user(s) said Thank You: PeterChain

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

  • Posts: 634
  • Thank you received: 16
8 years 4 weeks ago #253374

I changed the onBeforeRender to a system plugin and now works fine. Thanks.

-- Víctor

Last edit: 8 years 4 weeks ago by PeterChain.

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

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