Jump to content

Column and module are not always compatible ?


Recommended Posts

Hi
I just sent message about this so this is copy/paste.
-------
You probably want to move blocks to sections not defined in php file.
For example from blockcart.php

function hookRightColumn($params)
   {
       global $smarty;
       $this->smartyAssigns($smarty, $params);
       return $this->display(__FILE__, 'blockcart.tpl');
   }

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



This means this module was intended to be placed in left or right column.
If you want to move it lets say in footer you need to add this code
-----

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



And then when you transplant module to footer it will show.
After you will probably need to change some styles in global.css.

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