trouille2 Posted December 14, 2014 Share Posted December 14, 2014 Hello everybody, I'm pretty new to prestashop and try to create a module that would show a fullscreen background picture. Background should change following the category I visit and even choose randomly between 3 images for each category. I plan to create an array containing the category thumbnails url originally set up in blockCategories module (I know it's not the purpose of these thumbnails, but I don't use them anyway in this website). For now, I've created a new module that can show a static fullscreen background (1 image place in img folder), Next steps are (I think): Get the category id of the page I visit or (if I'm in a product page), the category id I come from. retrieve the category thumbnails, create the array. Who can help me for the 2 first steps? 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