Jump to content

Moving a Module


Recommended Posts

  • 4 months later...

i have the same problem but it seems that the whole of the modules have a problem not one of the modules iare transplantable throught the back office!!!! you are stuck with the standard left and right this is a serious bug.
as to the advice on the linked page it KILLS the site to attemp to follow the advice.
e.g
function install()
{
parent::install();
$this->registerHook('leftColumn');
Configuration::updateValue('MANUFACTURER_DISPLAY_TEXT', true);
Configuration::updateValue('MANUFACTURER_DISPLAY_TEXT_NB', 5);
Configuration::updateValue('MANUFACTURER_DISPLAY_FORM', true);
}
(this is not the only instance of hook in this code)
also this:

}

function hookRightColumn($params)
{
return $this->hookLeftColumn($params);
}

if you change left to right it kills the site

so how do you move moduals?

Link to comment
Share on other sites

Have you read the wiki that is referred to above?? It answers the question perfectly:

To move a module up or down in the order of modules displayed in a section of a page, also known as a “hook”:

1.Go to Back Office >> Modules
2.Click Positions.
3.In the list of hooks, click the or icons to change the module’s display order.

You are not stuck with the standard left and right, and there is no bug. If you have a specific module - or modules - that you cannot move via the back office or the code in the wiki, I think you should make a post about this rather than highjacking the OP's thread, which will be solved by following the instructions in the wiki.

Link to comment
Share on other sites

in the positions page there is no or option only a edit icon by each module with a red x by its side
if i click on the edit i get a page with 3 boxes
Module :
Hook into :
Exceptions :

but i can not choose anything as thay are gray
and as i said following the wiki only killed the site.

Link to comment
Share on other sites

Transplanting a module via the Back Office

  1. Go to Back Office >> Modules
  2. Click Positions, located in the upper-left corner of the Modules page.
  3. Click Transplant a module.



from wiki link. Prestashop documentation maybe is not great but that page is all you need.

If you can't find Transplant module link look here
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...