joomla event and hikashop

  • Posts: 846
  • Thank you received: 92
9 years 3 months ago #210397

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 2.5.28
-- PHP version -- : 5.5.8
-- Browser(s) name and version -- : many

Hi
I more efficient on css front end ( not js) than in php joomla server side , i discover that joomla is like javascript and support event . Since hikashop product don' t override article like seblod or J2shop do . Does all event attach to article ( content ) is supported by hikashop product ?


article...........................................hiksahop
onContentBeforeDisplay .............. onHikashopBeforeDisplayView

what 's differ beetween onXXXBeforeDisplay and onXXBeforeDisplayView ?
onHikashopBeforeDisplay don't exist in Hikashop API !!
articleContent is not base on view ?

In which level context is create (I mean definition ...not use call ) an event ? the component ?


regard's
www.hikashop.com/forum/install-update/87...icle-as-product.html
16 persons work on enhance joomla core ? github.com/joomla/joomla-cms/issues?page...3.4.0%22+is%3Aclosed

Last edit: 9 years 3 months ago by lionel75.

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
9 years 3 months ago #210415

Hi,

Each extension will add its own triggers when needed.
Some Joomla triggers can be used for extensions, but most of them are only for Joomla itself.
The names of the triggers looking alike are a coincidence.
onContentBeforeDisplay (which is triggered when Joomla is displaying some content on the frontend) has no link to the onHikaShopBeforeDisplayView trigger (which is triggered before HikaShop displays a view of any type)

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

Time to create page: 0.057 seconds
Powered by Kunena Forum