kimo86 Posted September 26, 2014 Share Posted September 26, 2014 Hi I'm developing a new module and that module is a slider using some jquery and css properties. Some of these css and js properties i want to make them dynamic For example, in the module configuration page, the user can enter the height, with, background-color, speed of the animation etc. I couldn't find a way to make those dynamic parameter be in the css / js files. I know that when i want to include a css / js file do this : Tools::addCSS(($this->_path).'path/to/file.css'); Tools::addJS(($this->_path).'path/to/file.js'); but i want to enter also the parameters given by the user to that module. How to do that ? Please help. Thanx in advance Link to comment Share on other sites More sharing options...
NemoPS Posted September 26, 2014 Share Posted September 26, 2014 duplicate http://www.prestashop.com/forums/topic/363475-dynamic-css-into-a-module/ Link to comment Share on other sites More sharing options...
Recommended Posts