Thứ Ba, 2 tháng 8, 2011

How to register hook - Prestashop

Hi!
Today, I will show you how to register hook - Prestashop.
1. in table _DB_PREFIX_.'hook' have numbers rows:








2. to display module in front, let write following code in function install():

$this->registerHook('name_hook');

example: $this->registerHook('leftColumn');

Thank you for your time. Please feel free to ask any question and feedback.

Không có nhận xét nào:

Đăng nhận xét