[Skip to main content](#vessel-content)

#   Plugin not activating correctly

##

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

10 years 1 month ago [\#253190](#253190) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  *[Plugin not activating correctly](/forum/23-market-how-to/887067-plugin-not-activating-correctly#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")* was created by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")*

-- 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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg3MDY3LXBsdWdpbi1ub3QtYWN0aXZhdGluZy1jb3JyZWN0bHk/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 1 month ago [\#253192](#253192) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Plugin not activating correctly](/forum/23-market-how-to/887067-plugin-not-activating-correctly#253192 "-- 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")*

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 &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg3MDY3LXBsdWdpbi1ub3QtYWN0aXZhdGluZy1jb3JyZWN0bHk/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

10 years 1 month ago -  10 years 1 month ago [\#253374](#253374) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  Replied by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")* on topic *[Plugin not activating correctly](/forum/23-market-how-to/887067-plugin-not-activating-correctly#253374 "-- 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")*

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

-- Víctor

Last edit: 10 years 1 month ago by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg3MDY3LXBsdWdpbi1ub3QtYWN0aXZhdGluZy1jb3JyZWN0bHk/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.051 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
