d.crysty23 Posted February 5, 2014 Share Posted February 5, 2014 I made a few changes in the default template and unfortunately I noticed that the modules (block categories, home slider and featured products) are published on all the pages of the site, and I want them public only on the Home page. How can I remove them? The site is not online. Link to comment Share on other sites More sharing options...
El Patron Posted February 5, 2014 Share Posted February 5, 2014 staying withing the limits of native prestashop lets see if this helps tell prestashop when not to display from, you can also specify custom if you do not see in core options. http://screencast.com/t/TCSGVDO7o0a0 Link to comment Share on other sites More sharing options...
vekia Posted February 5, 2014 Share Posted February 5, 2014 with code below module will appear only on "homepage" {if $page_name == 'index'} TPL FILE CONTENTS HERE {/if} Link to comment Share on other sites More sharing options...
d.crysty23 Posted February 5, 2014 Author Share Posted February 5, 2014 (edited) I've entered this code in the respective module but now the module disappears from every page. I've made a printscreen to show you how I've entered the code Edited February 5, 2014 by d.crysty23 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts