Oxbow Posted May 17, 2014 Share Posted May 17, 2014 Hi I have the mypresta.eu "image slider for your homepage" module installed and have it set-up under the back office modules / positions so that every page except the index page is not displayed. This has been working fine with the slider only showing on the homepage. I have just installed a PostFinance payment module and this all works fine, except on the payment page (where the customer enters their payment details). The image slider is incorrectly showing on the payment page despite having highlighted the payment page under the image slider custom modules to make it an exception, just like all the other pages, but this doesn't seem to be having any effect. Any ideas for how I can remove the image slider from the payment page would be gratefully received. Many thanks! Alex Website: www.teddyandflu.ch module.tiff slider.tiff Link to comment Share on other sites More sharing options...
vekia Posted May 17, 2014 Share Posted May 17, 2014 in module tpl file add: {if $page_name=='index'} ALL TPL CONTENT SHERE {/if} Link to comment Share on other sites More sharing options...
Oxbow Posted May 17, 2014 Author Share Posted May 17, 2014 Vekia, thanks for the helpful reply. I added the code to the module tpl file, but it didn't seem to make any difference. It did however make me think that the custom payment template that I am using isn't showing in the list of pages in modules / exceptions. I simply added the custom template name to the list of exceptions in the modules / exceptions for the image slider module and this has worked (even though it doesn't show in the list of pages). So thank you for the pointing me in the right direction! Incidentally, thank you for your contribution to this forum. Whilst this is the first time I have needed to ask a question myself, I have used the answers you have given to others on countless occasions. The quality of this forum is one of the things that makes Prestashop so great. Thank you! 1 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