ilario Posted March 10, 2018 Share Posted March 10, 2018 ciao a tutti mi sapreste dire come posso richiamare dei file css e js in una pagina cms prestashop 1.7 io ho provato inserire questo codice in cmsController.php ma non funziona public function setMedia() { parent::setMedia(); if ((int)Tools::getValue(‘id_cms’) == 32) { $this->addJS(_THEME_JS_DIR_.‘intro.js’); $this->addJS(_THEME_JS_DIR_.‘pluginsintro.js’); $this->addCSS(_THEME_CSS_DIR_.‘styleintro.css’); $this->addCSS(_THEME_CSS_DIR_.‘queriesintro.css’); $this->addCSS(_THEME_CSS_DIR_.‘animatedintro.css’); } } grazie mille ilario Link to comment Share on other sites More sharing options...
Sito Lab Posted March 10, 2018 Share Posted March 10, 2018 per favore (credo che sia la 2 volta) si prega di non Duplicare i Post grazie 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