Jump to content

[Solved]CMS block right column


Recommended Posts

It seems the module doesn't support that position.

You need to edit the blockcmsinfo.php file and clone this method

	public function hookHome($params)
	{
		$this->context->controller->addCSS($this->_path.'style.css', 'all');
		if (!$this->isCached('blockcmsinfo.tpl', $this->getCacheId()))
		{
			$infos = $this->getListContent($this->context->language->id, $this->context->shop->id);
			$this->context->smarty->assign(array('infos' => $infos, 'nbblocks' => count($infos)));
		}

		return $this->display(__FILE__, 'blockcmsinfo.tpl', $this->getCacheId());
	}

Then change its name to hookDisplayRightColumn

Link to comment
Share on other sites

×
×
  • Create New...