Jump to content

How does PS display modules


Recommended Posts

Hello, 

my quest is to swap position of 2 modules in left column.

I read that normally I should do this in administration panel -> live edit

The problem is that prestashop used by this web was little bit edited, some modules were deleted, so live edit does not work.

 

In code i found, that both modules are displayed from variable $HOOK_LEFT_COLUMN

Front controller assignes to this variable following data:

'HOOK_LEFT_COLUMN' => ($this->display_column_left ? Hook::exec('displayLeftColumn') : ''),

I found that this gets from database names of modules, unfortunatelly I do not have access into the database :-(

I was also searching in both modules and did not find that one includes another one.

 

So my question is: Does prestashop call modules in order they are set in database or is there any other way I can swap their positions.

 

Thank you for your answers.

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...