MacMame Posted June 4, 2018 Share Posted June 4, 2018 Hello, I would like to add the following code in my theme (footer.tpl), unfortunately I have a problem with the symbol {} .. it's javascript in a <div> <div class="owl-carousel text-center owl-mini-testimonial nomargin owl-theme owl-carousel-init" data-plugin-options="{'singleItem': true, 'autoPlay': 8000, 'navigation': false, 'pagination': true, 'transitionStyle':'goDown'}" style="opacity: 1; display: block;"> data-plugin-options="{'singleItem': true, 'aut etc..... How to do it, because in debug mode, I have error messages because of these symbols .({')... Thank you Link to comment Share on other sites More sharing options...
Daresh Posted June 4, 2018 Share Posted June 4, 2018 Maybe try to wrap it all in {literal} and {/literal} tags Link to comment Share on other sites More sharing options...
MacMame Posted June 4, 2018 Author Share Posted June 4, 2018 ah it works !! I should have read the smarty doc !! thank you ( 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