Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #228764

    I’m trying to create an adspace on my website using oiopublisher but I cannot get the javascript to save on the textblock in text view.

    I have deactivated all plugins, but it does not allow me to write javascript in the text block.

    has been tested on another server, on the host digitalocean, and the javascript usually saves as a darker gray area and when i preview the box does show up. the host that it is not showing up on is rackspace. also the rackspace host does not serve the css file to safari on mac for some reason.

    this issue has been tested on multiple devices.

    #229368

    Hey rickthuhvang!

    You can try using this plugin as a more consistent way to add in code where needed: http://wordpress.org/plugins/post-snippets/

    Regards,
    Devin

    #230373

    Update: Issue is resolved.

    Primarily the post-snippets plugin is not a good solution for me as I am creating a pretty large website, and to create links just to replace the OIO javascript would take a good couple of days.

    My fix:
    The main problem was an ad blocker mixed with the minify.js plugins. Disable those and it seems to come right up.
    the ad blocker inserts dashes and spaces into javascript code to scramble the ad, and in my case, It scrambled it even before it gets put into the Avia viewing screen. and because Avia cannot produce the broken JS, it seemed to remove it. it may have been the ad blocker that removed it.(unsure).

    Why remove minify JS:
    Enfold seems to have an issue with minify plugin. which crunches code so it can serve pages faster. but that breaks CSS on safari desktop browsers.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘avia layout editor, textblock, does not save javascript.’ is closed to new replies.