Jump to content
  • 0

Jak przenieść moduł Homeslider do HOOK_RIGHT_COLUMN


wpatrykw

Question

1 answer to this question

Recommended Posts

  • 0

w pliku php modułu dodaj funkcję:

	public function hookDisplayRightColumn($params){
		if(!$this->_prepareHook())
			return;

		// Check if not a mobile theme
		if ($this->context->getMobileDevice() != false)
			return false;

		$this->context->controller->addJS($this->_path.'js/jquery.bxSlider.min.js');
		$this->context->controller->addCSS($this->_path.'bx_styles.css');
		$this->context->controller->addJS($this->_path.'js/homeslider.js');
		return $this->display(__FILE__, 'homeslider.tpl', $this->getCacheId());
	}

następnie w moduły > pozycje przepnij ten moduł do prawej kolumny

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