wakabayashi Posted November 19, 2014 Share Posted November 19, 2014 Hello I have always problems with cms pages. How can I add this Disqus code: <div id="disqus_thread"></div> <script type="text/javascript"> /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ var disqus_shortname = 'chesspointblog'; // required: replace example with your forum shortname /* * * DON'T EDIT BELOW THIS LINE * * */ (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); </script> <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> When I try to save, I always get a "content" error!? Please help me with this. Link to comment Share on other sites More sharing options...
wakabayashi Posted November 19, 2014 Author Share Posted November 19, 2014 I dont want any module for this thing. I need it only on some cms pages... Your code with literal doesn't work. Always get this: Das Feld content ist ungültig. Means something like, the field content is wrong. How can I fully allow HTML in cms pages? Thats really annoying! Link to comment Share on other sites More sharing options...
vekia Posted November 20, 2014 Share Posted November 20, 2014 what ps version you use? Link to comment Share on other sites More sharing options...
vekia Posted November 20, 2014 Share Posted November 20, 2014 it's because cms doesnt accept js scripts you trying to inser js script. extend tinymce editor and validate function:http://www.prestashop.com/forums/topic/318425-tutorial-tinymce-rich-text-editor-extended-version/ Link to comment Share on other sites More sharing options...
wakabayashi Posted November 20, 2014 Author Share Posted November 20, 2014 Thanks vekia! As always you are a great help! Is there any plan from prestashop to extend tinymce editor themselve? Link to comment Share on other sites More sharing options...
Recommended Posts