Jump to content

Prestashop and Voluvision Giveaway integration


ZubastiK

Recommended Posts

Hi

 

I want to integrate Voluvision Giveaway in CMS page of Prestashop (1.6)

Voluvision provides this sample code to insert in page:

 

<script type="text/javascript">

 var cnt_id = "cf9d5db5-18710";
 </script>
 <script type="text/javascript" src="https://www.viralswe...ernal/widget.js"></script>
 
I've tried to insert Java script in editor, also into HTML box with no success.
 
After inserting in editor I've got such code:    
 
<script>// <![CDATA[
        var cnt_id = "cf9d5db5-18710";
// ]]></script>
 
So script isn't working, I've tried to disable editor, but it activates automatically after inserting script.
Also I've tried to extend TinyMCE, disable HTML purifier with no luck. 
 
HOW TO GET RID of CDATA? 
OR HOW CAN I ADD THIS JS TO CMS PAGE?
 
Thanks for any help!
 
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...