Jump to content

How to move blocklayered module into center ?


Recommended Posts

I want to move module blocklayered from left column to center.

 

I changed blocklayered.php, install function

I`ve added registering hook like this:

... && $this->registerHook('displayHome') ...

 

Also, i added function to serve hook:

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

 

But it never appear in page center.

Please help me to move this module.

What should i do else?

Link to comment
Share on other sites

  • 5 months later...
  • 5 months later...
  • 2 months later...

Tried to move filters to center column but no luck. Main problem is that center column or category page don't have any hooks that you could attach blocklayered module to. You can display filters in category page by adding this:

{include file="$tpl_dir./modules/blocklayered/blocklayered.tpl"}

to category.tpl but it still has to be attached to left_column and it has like 50% functionality in center column. So only solution for this is to hide left column block with css and add some changes to module's .js and .tpl files.

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