Adding new custom hooks to the shop is not enough to assign the modules there. Your modules must have function to support new position like it has for other functions. Whole process depends on the module you use, the easiest way is to copy-paste other function and change its name.
lets say we added hook named "displayMyHook"
your module has support of "displayLeftColumn" hook by default.
open module file,
duplicate function with name:
publi
c function hookdisplayLeftColumn($params) {//...//here original contents of function//...}
and change its name to hookdisplayMyHook($params)
publi
c function hookdisplayMyHook($params) {//...//here original contents of function//...}
0 comments:
Post a Comment