Jump to content

Configuring module positions in Hompage with Bootstrap


Recommended Posts

You can try simply hooking the categories block to the hook displayTopColumn or displayHome (I forgot which one it is, exactly). Make sure it's the one the slider is currently hooking to, anyway. Of course, you might have to modify the blockcategoris.php file and add the hooking method. Then simply position the categories block before the slider, and deactivate the theme configurator there

Link to comment
Share on other sites

Hi,

 

thanks I'll try following your instructions.

Let's see what happens!

 

BTW I am not able to post any other question in the forum, I have managed only to reply to this thread.

 

When I start a new topic and hit 'Post' I got redirected to Prestashop.com

 

Can someone explain me why and how can I post again?

 

thanks!

Edited by palmerstoneroad (see edit history)
Link to comment
Share on other sites

Hi,

 

back on this.

 

I have tried to transplant the 'Category block' to the displayTopColumn hook  but I got the following message:

"This module cannot be transplanted to this hook."

 

Why?

Any why to bypass this and get the Category block next to the slider?

 

thanks!

Edited by palmerstoneroad (see edit history)
Link to comment
Share on other sites

Yes, edit blockcategories.php, and add the following method:

 

public function hookDisplayTopColumn($params)

{

...

}

 

Inside it, you can whether adapt any of the other methods or return them like return $this->hookDisplayRightColumn($params);

Link to comment
Share on other sites

  • 2 weeks later...

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...