alloure59 Posted July 7, 2013 Share Posted July 7, 2013 Dear sir, I want to reduce the home slider so that can be in the left or in the right column. I don't want it on the center of my default theme. Hope someone have an ID about that... Link to comment Share on other sites More sharing options...
PSfever.com Posted July 7, 2013 Share Posted July 7, 2013 Are you talking about the default slider? If so, you'll need to change the .php file so it hooks to left/right column. Then you'll need to change it's size in BackOffice - module - slider - settings. Link to comment Share on other sites More sharing options...
alloure59 Posted July 7, 2013 Author Share Posted July 7, 2013 yes, I'm talking about the default slider.What line I must change in php files cause the php file are numerous: in upgrade i have those: - HomeSlide.php -homeslider.php - ajax_homeslider.php and so one ... What php file i must change and how? Thanks Link to comment Share on other sites More sharing options...
vekia Posted July 7, 2013 Share Posted July 7, 2013 open the homeslider.php file add there function to handle left / right columns: public function hookleftcolumn() { $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()); } + public function hookrightcolumn() { $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()); } then transplant module under the modules > positions tab in your back office Link to comment Share on other sites More sharing options...
alloure59 Posted July 7, 2013 Author Share Posted July 7, 2013 At the beginning the slider go to left column, but when I change setting in back office , the bloc disappears. My be i need exactly the width and the lenght that will be use with the slider Link to comment Share on other sites More sharing options...
alloure59 Posted July 7, 2013 Author Share Posted July 7, 2013 i try all of this but that doesn't work. my image are smaller than before and the slider appears only once in left column. My be I need the right lenght and the right width to put this module on the left column. thanks Link to comment Share on other sites More sharing options...
vekia Posted July 8, 2013 Share Posted July 8, 2013 please share the url, we still don't know what you changed, it will be easier when we will have an access to the store Link to comment Share on other sites More sharing options...
Recommended Posts