Jump to content

Hook Order || Suggestion to improve


Recommended Posts

Hi,

I'd like to post this comment for the developers and for those who might share my point of view:

I started customizing the standard prestashop version 1.1 and after I took a look at the hook order, which is loaded as stored in database by id_hook.

In my situation I'd liked to put an important process in to the TOP (Hook: Top) and access a Smarty Variable in other hook postion. My thought was that the TOP Hook comes first. But why does content areas (= hooks) start with the right collum?


Standard load order:

6      rightColumn
7     leftColumn 
8     home
9     header



Why wouldn't it start with the header / top and then the side columns?

Link to comment
Share on other sites

×
×
  • Create New...