ipete Posted December 25, 2013 Share Posted December 25, 2013 Hi How could I use js in tpl file of terms and conditions in iframe? I got it after I put there html page but this page was not able to translate my contents to another language so i decided to create php and tpl files but cant use js. <?php include(dirname(__FILE__).'/config/config.inc.php'); $smarty->display(_PS_THEME_DIR_.'bbb.tpl'); ?> I tried many ways to use js but didnt get any result Link to comment Share on other sites More sharing options...
vekia Posted December 25, 2013 Share Posted December 25, 2013 why not to insert <script></script> tags inside the cms page cotent? Link to comment Share on other sites More sharing options...
ipete Posted December 25, 2013 Author Share Posted December 25, 2013 why not to insert <script></script> tags inside the cms page cotent? Thank you for answer What do you mean? Insert in CMS page in html mode <scrtipt></script>? If I do this and press save I get The content field is invalid. Link to comment Share on other sites More sharing options...
vekia Posted December 25, 2013 Share Posted December 25, 2013 that's right, because before you have to extend tinymce editor and validate function i forgot about that 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