- Posts: 846
- Thank you received: 92
joomla event and hikashop
11 years 1 month ago - 11 years 1 month ago #210397
by lionel75
joomla event and hikashop was created by lionel75
-- 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
-- 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: 11 years 1 month ago by lionel75.
Please Log in or Create an account to join the conversation.
11 years 1 month ago #210415
by nicolas
Replied by nicolas on topic joomla event and hikashop
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)
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.180 seconds