vekia Posted September 5, 2016 Share Posted September 5, 2016 This guide shows how to build fancybox gallery on cms pages in prestashop tutorial is based on prestashop 1.6. With guide you will:- extend tinymce editor to accept scripts - create a pictures gallery on cms page - enable fancybox option to enlarge pictures enjoy :-) i updated the article, now you can use it also in PrestaShop 1.7 - cms page gallery for prestashop 1.7 1 Link to comment Share on other sites More sharing options...
askinjew Posted September 5, 2016 Share Posted September 5, 2016 Thank a lot my friend. Link to comment Share on other sites More sharing options...
askinjew Posted September 5, 2016 Share Posted September 5, 2016 But dosent work ? Link to comment Share on other sites More sharing options...
vekia Posted September 7, 2016 Author Share Posted September 7, 2016 But dosent work ? hello what does not work? Link to comment Share on other sites More sharing options...
shopan45 Posted October 5, 2016 Share Posted October 5, 2016 HI Vekia, nice tutorial, but I can't seems to make it work with prestashop 1.6.1.7. I'm extending tinymce and make the change to Validate.php and also set the HTML purify library to off, but whenever i tried to add <script> tag on the source code it keeps erased from the code. Any idea what's happened? Link to comment Share on other sites More sharing options...
vekia Posted October 5, 2016 Author Share Posted October 5, 2016 hello t HI Vekia, nice tutorial, but I can't seems to make it work with prestashop 1.6.1.7. I'm extending tinymce and make the change to Validate.php and also set the HTML purify library to off, but whenever i tried to add <script> tag on the source code it keeps erased from the code. Any idea what's happened? i will describe most common problems: - try to clear browser cache (there is a chance that your browser remember old js files) - try to add the <script> at the end of the code you defined for cms page (in tinymce editor of course) Link to comment Share on other sites More sharing options...
shopan45 Posted October 10, 2016 Share Posted October 10, 2016 HI Vekia, Clearing the browser cache works, but somehow the script text is changed as <script>// <![CDATA[ $(document).ready(function() { $("a.fancybox").fancybox(); }); // ]]></script> but the script is working though Link to comment Share on other sites More sharing options...
vekia Posted April 23, 2017 Author Share Posted April 23, 2017 i wrote a guide dedicated for PrestaShop 1.7, you can build exactly the same gallery cms page gallery for prestashop 1.7 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