palmerstoneroad Posted January 16, 2015 Share Posted January 16, 2015 Hi,I would like to have a Homepage layout similar tohttp://s48.photobucket.com/user/rack-bike/media/homepage-design_zps561e1...How do I have to organize/configure/arrange modules (which ones to be activate and how) to achieve this graphic result?I am using the default theme Bootstrap.thanks! Link to comment Share on other sites More sharing options...
NemoPS Posted January 16, 2015 Share Posted January 16, 2015 Can you re-post the image? It seems the link is broken Link to comment Share on other sites More sharing options...
palmerstoneroad Posted January 16, 2015 Author Share Posted January 16, 2015 Hi Nemo1, thanks for that. Here the working link: http://s48.photobucket.com/user/rack-bike/media/homepage-design_zps561e1692.png.html thanks! Link to comment Share on other sites More sharing options...
NemoPS Posted January 17, 2015 Share Posted January 17, 2015 You can try simply hooking the categories block to the hook displayTopColumn or displayHome (I forgot which one it is, exactly). Make sure it's the one the slider is currently hooking to, anyway. Of course, you might have to modify the blockcategoris.php file and add the hooking method. Then simply position the categories block before the slider, and deactivate the theme configurator there Link to comment Share on other sites More sharing options...
palmerstoneroad Posted January 19, 2015 Author Share Posted January 19, 2015 Hi, thanks for the answer although this goes beyond my current knowledge of Prestashop. Isn't there an option to do it through a Live Edit feature? or alternatively I would need (if possible) a detailed list of actions I should perform for reaching the result I am lookin for thanks! Link to comment Share on other sites More sharing options...
palmerstoneroad Posted January 20, 2015 Author Share Posted January 20, 2015 Hi, Can you point to some online resources where I can learn how to hook blocks and have more knowledge of hooking methods? I would like to experiment before messing up my site. thanks! Link to comment Share on other sites More sharing options...
NemoPS Posted January 21, 2015 Share Posted January 21, 2015 There is no way to do it without editing php I'm afraid. First, try seeing my last tut so you don't modify the original module file, just in case: http://nemops.com/override-prestashop-modules-core/#.VL9r0kejOr0 Then see the official doc on how to create a module (http://doc.prestashop.com) 1 Link to comment Share on other sites More sharing options...
palmerstoneroad Posted January 22, 2015 Author Share Posted January 22, 2015 (edited) Hi, thanks I'll try following your instructions. Let's see what happens! BTW I am not able to post any other question in the forum, I have managed only to reply to this thread. When I start a new topic and hit 'Post' I got redirected to Prestashop.com Can someone explain me why and how can I post again? thanks! Edited January 22, 2015 by palmerstoneroad (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted January 23, 2015 Share Posted January 23, 2015 Spam protection, you must be using a banned keyword (hard to tell which one, it happened to me as well ) 1 Link to comment Share on other sites More sharing options...
palmerstoneroad Posted January 23, 2015 Author Share Posted January 23, 2015 Should be Right Hook as I have changed the words and I got a post: https://www.prestashop.com/forums/topic/396393-images-next-to-the-slider/ Link to comment Share on other sites More sharing options...
NemoPS Posted January 23, 2015 Share Posted January 23, 2015 Really strange! In any case I'm answering that 1 Link to comment Share on other sites More sharing options...
palmerstoneroad Posted January 23, 2015 Author Share Posted January 23, 2015 Me too please check my answer it seems a bit more complicated thanks! Link to comment Share on other sites More sharing options...
palmerstoneroad Posted January 27, 2015 Author Share Posted January 27, 2015 (edited) Hi, back on this. I have tried to transplant the 'Category block' to the displayTopColumn hook but I got the following message: "This module cannot be transplanted to this hook." Why? Any why to bypass this and get the Category block next to the slider? thanks! Edited January 27, 2015 by palmerstoneroad (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted January 28, 2015 Share Posted January 28, 2015 Yes, edit blockcategories.php, and add the following method: public function hookDisplayTopColumn($params) { ... } Inside it, you can whether adapt any of the other methods or return them like return $this->hookDisplayRightColumn($params); Link to comment Share on other sites More sharing options...
palmerstoneroad Posted February 6, 2015 Author Share Posted February 6, 2015 Hi Nemo1, can you articulate more on this point: adapt any of the other methods can you add an example of other methods pls? thanks! Link to comment Share on other sites More sharing options...
NemoPS Posted February 7, 2015 Share Posted February 7, 2015 Like this, say public function hookDisplayTopColumn($params) { return $this->hookDisplayLeftColumn($params); } Or, copy the content of hookDIsplayLeftColumn anhd change all references to "left" to "top" Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now