alfredopacino Posted January 19, 2014 Share Posted January 19, 2014 hi, i want to make this template http://www.leotheme.com/prestashop/themes/234-leo-converse.html like the FIRST attachment: a right column in home page too, BUT below the slideshow. If i just remove the condition {if $page_name =='index'} and fix the div#leo-centercol width, the right column appears like the second attachment. I don't need this. So, i need the slideshow outside div#leo-centercol, how can i do that?do i really need a new hook? Link to comment Share on other sites More sharing options...
Dh42 Posted January 19, 2014 Share Posted January 19, 2014 You don't need a new hook for that. How you would do it is hook the slide show to the displayTop and check if the page was index to display the slide show. Then hook the categories module into the regular right hook, and make sure the index.tpl had the right template displayed in it. Link to comment Share on other sites More sharing options...
alfredopacino Posted January 19, 2014 Author Share Posted January 19, 2014 (edited) You don't need a new hook for that. How you would do it is hook the slide show to the displayTop and check if the page was index to display the slide show. Then hook the categories module into the regular right hook, and make sure the index.tpl had the right template displayed in it. i moved the slideshow into displayTop, it's the last module in the position but i see it before the logo and the menu.. Edited January 19, 2014 by alfredopacino (see edit history) Link to comment Share on other sites More sharing options...
Dh42 Posted January 19, 2014 Share Posted January 19, 2014 You have to rewrite the css and html more than likely for it to sit right and display right. Link to comment Share on other sites More sharing options...
alfredopacino Posted January 19, 2014 Author Share Posted January 19, 2014 You have to rewrite the css and html more than likely for it to sit right and display right. this is the actualy state this is what i want i just can't solve this isse with css. Link to comment Share on other sites More sharing options...
Dh42 Posted January 19, 2014 Share Posted January 19, 2014 I don't really know what to tell you, it can be solved with it and editing the html in the template, just experiment around with it or purchase the theme if you find it takes too long. Link to comment Share on other sites More sharing options...
alfredopacino Posted January 20, 2014 Author Share Posted January 20, 2014 I don't really know what to tell you, it can be solved with it and editing the html in the template, just experiment around with it or purchase the theme if you find it takes too long. i don't know how.. i just see header.tpl with <div id="leo-centercol" class="{if $page_name == "index"} contatiner{else} span9{/if}"><div id="center_column"> {if $page_name != 'index'} {include file="$tpl_dir./breadcrumb.tpl"} {/if} {/if} i don't see any other tpl could be useful.. Link to comment Share on other sites More sharing options...
alfredopacino Posted January 23, 2014 Author Share Posted January 23, 2014 please help? Link to comment Share on other sites More sharing options...
Rolige Posted January 25, 2014 Share Posted January 25, 2014 You can insert in top header and use the trick of {if $page_name =='index'} to display only in homepage, maybe is the fastest way and easy. Link to comment Share on other sites More sharing options...
vekia Posted January 25, 2014 Share Posted January 25, 2014 it will be much easier if you will share direct link to your website, not theme demo Link to comment Share on other sites More sharing options...
alfredopacino Posted January 25, 2014 Author Share Posted January 25, 2014 it will be much easier if you will share direct link to your website, not theme demo in attachment the url Link to comment Share on other sites More sharing options...
Recommended Posts