Jump to content

facebook and cms block to homepage full width?


koim86

Recommended Posts

Hi Guys,

 

I have a question. i followd this url to convert the deafualt boodstrap theme to a three colum theme.

 

but now the three coloms on the end of the page are very small. (see link). i cannot get them back in full width.

 

Can anybody help me te get/hook these back on the bottum of the page in full width?(see picture)

 

my page: link

 

greetings,

Mike

 

 

 

 

post-1000910-0-94425700-1442748304_thumb.jpg

Link to comment
Share on other sites

hi..

 

you can find the here modules/blockfacebook/blockfacebook.php and code is
 

public function install()
{
return parent::install() &&
Configuration::updateValue('blockfacebook_url', 'https://www.facebook.com/prestashop') &&
$this->registerHook('displayHome') &&
$this->registerHook('displayHeader');
}

change $this->registerHook('displayHome') to $this->registerHook('footer')
 

public function hookDisplayHome()
{
if (!$this->isCached('blockfacebook.tpl', $this->getCacheId()))
{
$facebookurl = Configuration::get('blockfacebook_url');
if (!strstr($facebookurl, 'facebook.com'))
$facebookurl = 'https://www.facebook.com/'.$facebookurl;
$this->context->smarty->assign('facebookurl', $facebookurl);
}
return $this->display(__FILE__, 'blockfacebook.tpl', $this->getCacheId());
}

public function hookDisplayHome() to public function hookFooter($params)

first take the backup and after change its same as blockcmsinfo

once changes is done the uninstall modules and install..

thanks

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