Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #469237

    Hello…I’m trying to use the java script pasted below on a page I’ve built using the Advanced Editor in Enfold. I’ve inserted a Code Block in the page and pasted in the javascript to pull in a flash video “Webout” into the page. When I paste in the script and click Publish…it just spins and never actually saves. If I delete the script from the code block it saves right away.

    <script type=’text/javascript’ src=’http://www.hostvg.com/media/WebOuts/HomeWO/GoogleAnalytics.js’></script><script type=’text/javascript’ src=’http://www.hostvg.com/media/WebOuts/HomeWO/HomeWO.js’></script&gt;

    We used these scripts on an old GoDaddy Website Builder site until we launched the new site last week and they worked fine.

    Thanks in advance for your help.

    #469473

    Hey alliancepp!

    Thank you for using Enfold.

    If this is a google analytics code, you can add it in the Enfold > Theme Options > Google Analytics field. Note that you have to wait for a few hours or days before it takes effect .

    Regards,
    Ismael

    #470531

    Ismael,

    Thanks for your reply. The script does have a Google Analytics tracking script but it is to track the click throughs on this specific video that plays. It’s not a traditional google analytic code. Is it possible for you to test the script in the code block to see if you are able to view it?

    thanks for your help.

    #471252

    Hey!

    We can have a look at it if you send us a temporary admin login, you can post the details in the Private Content section of your reply.

    Cheers!
    Rikard

    #471733

    Rickard…i’ve pasted the temp log-in below in private content.

    #471756

    Hi!

    Can u please move the scripts the main directory, and let us know if that fixes the issue?

    Regards,
    Basilis

    #473443

    This issue is resolved…but a note.

    When I added my Java Script into a Code Block on a page and then clicked Publish…it would spin and looked like it never completed Publishing the page. In actuality, it had saved the code in the page. While it was spinning once I just clicked out to the actual site out of frustration and previewed the page and the script worked.

    – I had the same Publishing issue on all 5 pages I added the code block and unique java scripts to. – Thanks and I appreciate your help.

    #473522

    Hey!

    Glad you got your problem fixed.

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Java Script added to Code Block – won't Publish’ is closed to new replies.