Recent Update Breaks My Website

Nigal's Avatar

Nigal

13 Aug, 2015 05:08 AM

I've been using an email collection element embedded into my website for a while now but recently within the passed 3-5 days an update to the Cash Music platform has broken the webpage which I had the element embedded on. I can't tell what the conflict is directly, but my entire page header disappears when the element is embedded. All issues disappear when I remove the embed code.

I know this is probably pretty vague without being able to actively see the issue I'm explaining for yourself, but I can't keep the element embedded to link from here and have my website remain broken.

Any ideas?

  1. Support Staff 1 Posted by Jesse von Doom on 13 Aug, 2015 05:03 PM

    Jesse von Doom's Avatar

    Hi Nigal,

    We did introduce a new version of the embed script and I've been waiting
    for someone to write. We tested it extensively, but thought this could be a
    possibility in some situations. Sorry it affected you.

    The fix is a minor addition to your embed code:

    <script type="text/javascript" src="
    https://cashmusic.org/public/cashmusic.js"
    data-options="nowrap"></script><script type="text/javascript">
    window.cashmusic.embed('https://cashmusic.org/public/','YOUR EMBED
    ID');</script>

    note the data-options="nowrap" piece in there. You can either add that to
    your existing code, or use this and simply replace your embed ID.

    If you could send us the URL I'd love to see the page that broke. If it's
    okay with you we'll add the markup to our own test pages and see if we
    can't sort a proper fix.

    Thanks, and our apologies,

    j

  2. 2 Posted by Babe on 18 Nov, 2015 09:09 AM

    Babe 's Avatar

    Hi,

    I don't know if you can help me but I am self taught and am having trouble getting my cashmusic script to show up when implementing it into a page using JQuery fullPage.js as my website template. I was able to get it to show up in a header but I would prefer it to be centered within a page. Inline JS is not showing up. Do you know how I could get this to work? Is there an easy fix? I tried adding this no wrap solution suggested above to the code but it did not work for me.

    If you could help me or give me an idea of where I can look for a solution I would be so grateful.

    Thank you,
    Babe

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac