coder123 Posted December 5, 2013 Share Posted December 5, 2013 (edited) Hi everyone! I need your help. Can you please help me on how to code/put homeslider on topright and the other half is blockstore(top left). Thanks alot. Please See Attached File Edited January 15, 2014 by lourdesyang (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted December 5, 2013 Share Posted December 5, 2013 you will have to move homeslider to top, and also our stores module to top. then in homeslider.tpl add: (top of the file) <div class="mytopsection"> <div class="myhomeslider"> and in our stores block template file add: </div> <div class="mystores"> HERE CODE OF TEMPLATE FILE </div> </div> in modules positions move modules to the bottom of displayTop (not displayHeader!) - homeslider module - our stores block you will be able to stylize blocks then (<div class="myhomeslider"> for slider and <div class="mystores"> for my stores block) Link to comment Share on other sites More sharing options...
coder123 Posted December 5, 2013 Author Share Posted December 5, 2013 (edited) Thanks Sir for the help. please see the link i put. I used the homeslider top you made and I hook the blockstore to the topdisplay but it doesnt show at all. Please help me. Edited January 15, 2014 by lourdesyang (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted December 5, 2013 Share Posted December 5, 2013 can you show list of modules attached to displayTop section ? just last 5 modules will be enought (modules > positions - search for displayTop) Link to comment Share on other sites More sharing options...
coder123 Posted December 5, 2013 Author Share Posted December 5, 2013 Heres the modules in displaytop Link to comment Share on other sites More sharing options...
vekia Posted December 5, 2013 Share Posted December 5, 2013 there is no "block stores" module, you said that you transplanted it but i dont see it there Link to comment Share on other sites More sharing options...
coder123 Posted December 7, 2013 Author Share Posted December 7, 2013 (edited) oh i see. it is not the same with store locator . I thought it was the same. now i know. thanks. I will transplant it and be back if i got it. thanks thanks thanks Edited December 7, 2013 by lourdesyang (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted December 7, 2013 Share Posted December 7, 2013 so what's going on ? does it work as you expected? Link to comment Share on other sites More sharing options...
coder123 Posted December 19, 2013 Author Share Posted December 19, 2013 hello sorry but i didnt got it yet. blockstore and store locator block are the same. Link to comment Share on other sites More sharing options...
coder123 Posted December 19, 2013 Author Share Posted December 19, 2013 about the homeslider top i got that from you that was given free module. Link to comment Share on other sites More sharing options...
coder123 Posted December 19, 2013 Author Share Posted December 19, 2013 hello im i right to put this code on blockstore.php this code was inserted right after function unistall? this is the code: public function hookdisplayTop() { if(!$this->_prepareHook()) return; if ($this->context->getMobileDevice() != false) return false; $this->context->controller->addCSS($this->_path.'blockstore.css'); return $this->display(__FILE__, 'blockstore.tpl'); } Link to comment Share on other sites More sharing options...
vekia Posted December 19, 2013 Share Posted December 19, 2013 it looks ok. now go to modules > positions and transplant module to the displayTop hook. Link to comment Share on other sites More sharing options...
coder123 Posted December 19, 2013 Author Share Posted December 19, 2013 a step to go i just use this code: public function hookdisplayTop() { return $this->display(__FILE__, 'blockstore.tpl', $this->getCacheId()); } and this is the result. please see link: http://store.openpchelp.com/index.php Link to comment Share on other sites More sharing options...
vekia Posted December 19, 2013 Share Posted December 19, 2013 oop, website is under maintenance mode Link to comment Share on other sites More sharing options...
coder123 Posted December 19, 2013 Author Share Posted December 19, 2013 (edited) woop sorry i forgot it. only me can access the website..eheheh anyways ill just attached a screenshot of it. thanks for the help. whats the next of this? Edited January 15, 2014 by coder123 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted December 19, 2013 Share Posted December 19, 2013 hmmm still the same Link to comment Share on other sites More sharing options...
coder123 Posted December 20, 2013 Author Share Posted December 20, 2013 http://store.openpchelp.com/index.php please see the link its already accessible now. can u please help me on that blockstore to put right beside the homeslider. thanks Link to comment Share on other sites More sharing options...
vekia Posted December 20, 2013 Share Posted December 20, 2013 your blockstores module is ABOVE homeslider, move it below under modules > positions > displayTop modules list. Link to comment Share on other sites More sharing options...
coder123 Posted December 20, 2013 Author Share Posted December 20, 2013 i already did it but look the blockstore is in 980px width size Link to comment Share on other sites More sharing options...
vekia Posted December 20, 2013 Share Posted December 20, 2013 you forgot about: http://www.prestashop.com/forums/topic/293770-homeslider-topright-and-blockstore-topleft/?p=1482169 it's more than necessary in this case. Link to comment Share on other sites More sharing options...
vekia Posted December 20, 2013 Share Posted December 20, 2013 btw. you can also add float:left; to the .bx-wrapper Link to comment Share on other sites More sharing options...
coder123 Posted December 20, 2013 Author Share Posted December 20, 2013 i think its right that blockstore is above homeslider. and code the element.style ..please see attached file element.style { width: 202px; float: right; } ... can u please teach me on how to code this element.style? I already tried it code on blockstore.tpl like this <div id="stores_block_left" class="block" style="float:right; width:202px; "> but theres no effect. Link to comment Share on other sites More sharing options...
vekia Posted December 20, 2013 Share Posted December 20, 2013 modules order: from left to right, blockstores can't be above the slider. if you want to use in on the right hand side - it must be after slider. Link to comment Share on other sites More sharing options...
vekia Posted December 20, 2013 Share Posted December 20, 2013 http://www.prestashop.com/forums/topic/293770-homeslider-topright-and-blockstore-topleft/?p=1482169 and that's all what i can say in this case, if you know better solution, do it. Link to comment Share on other sites More sharing options...
vekia Posted December 20, 2013 Share Posted December 20, 2013 tip: create in global.css styles: #stores_block_left { } Link to comment Share on other sites More sharing options...
coder123 Posted December 20, 2013 Author Share Posted December 20, 2013 ok i will do your tips. thanks alot for the help. God Bless! Link to comment Share on other sites More sharing options...
coder123 Posted January 6, 2014 Author Share Posted January 6, 2014 hi vekia, thanks for the help. the problem was already solve.. Link to comment Share on other sites More sharing options...
vekia Posted January 6, 2014 Share Posted January 6, 2014 thank you for information that problem is solved now i can go ahead and mark it as solved with regards, Milos Link to comment Share on other sites More sharing options...
Recommended Posts