Jacob M Posted October 21, 2014 Share Posted October 21, 2014 Hi! I have modified homeslider to display right under header. (im working on default prestashop 1.5 theme). Im trying to have it only on my front/index page. Hope you can help me. Thanks ! Link to comment Share on other sites More sharing options...
Paulito Posted October 21, 2014 Share Posted October 21, 2014 Hello Why not go to: Back office > Modules > Positions > find the Home Slider module > Edit > then use "Exceptions" (that is, make the homeslider an exception on all pages Except the home page) Hope this makes sense Paul 1 Link to comment Share on other sites More sharing options...
Jacob M Posted October 21, 2014 Author Share Posted October 21, 2014 Simple and easy ! Thank You. Had no idea about that functionality. Link to comment Share on other sites More sharing options...
Jacob M Posted October 22, 2014 Author Share Posted October 22, 2014 (edited) Hi, Im back. I wanted to give my slider a nice hide/show animation and solve my issue with jquery.Code looks like that $(document).ready(function(){ if($('a.current').attr('href') == 'index.php') { $('.bx_wrapper').show(); } }); how the code should check that im on my shops front page ? it isn't working with 'index.php' I'm using presta 1.5.4.1 And yes, i do linked my code into header. Edited October 22, 2014 by Jacob M (see edit history) 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