New Landing How can we help? Themeforest Theme Support Flexform Raw Javascript element

Viewing 9 posts - 1 through 9 (of 9 total)
  • Posted in: Flexform
  • #51803
    KerplunkDesign
    Member
    Post count: 46

    Hello,
    I’ve got a page that uses the Raw JS element. cspmobile.com/whatshappening The JS is provided by zoomph.com to aggregate social media posts. Last week I was able to paste in the code from Zoomph into the Raw JS element and the data was pulled in just beautifully. Over the weekend something changed. The page no longer pulls in the data nor shows the JS element. The code I believe is still stable, as it still works through Zoomph’s admin publish site. Is there any possible thing going wrong with Flexform? Or a setting I need to adjust? I’m using version 1.4.3. Just updated to 1.6 but still running child of old version.

    #52007
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hi, can you see if it works upon using the main theme?

    #52008
    Melanie – SUPPORT
    Member
    Post count: 11032

    Also, please try deactivating all your plugins to see if that changes anything.

    #52128
    KerplunkDesign
    Member
    Post count: 46

    Hi,
    I have live development site where I’m doing testing as I don’t want to interfere with the working CSP live site for daily use (cspmobile.com). So, on the site bbnsocialstop.com I’m using the main Flexform v1.6 theme. I have one simple page using one element, the Raw JS element. I have deactivated all plugins and am all up to date with WordPress version. And I’m still getting the same result. It’s not pulling in the data from Zoomph.com.

    This is the JavaScript.

    <!– JS/CSS –>
    <script type=”text/javascript” src=”//display.zoomph.com/Bundles/socialHubLoader”></script>
    <link rel=”Stylesheet” type=”text/css” href=”//display.zoomph.com/Bundles/socialHubCss” />
    <div class=”zoomphSocialHub” data-socialHubId=”/FOAWsEFxfJZygtbP3DFteerdcoAsKwe/ZlpAoNxT/yj4Xefgdk3JFBqvw1NaO2YAPFmyg==”></div>

    This is the data to be pulled in.

    http://display.zoomph.com/Display/SocialHub/?id=%2FFOAWsEFxfJZygtbP3DFteerdcoAsKwe%2FZlpAoNxT%2Fyj4Xefgdk3JFBqvw1NaO2YAPFmyg%3D%3D&runLocal=true

    #52135
    KerplunkDesign
    Member
    Post count: 46

    This was working beautifully last week. Now, I’m getting nothing.

    The CSP website is using a child of the Flexform theme. But again, the test site I mentioned above is using the main theme and I’m still not getting the correct results from the Raw JS element.

    I don’t understand how it just stops working.

    Thank you for any help you can give me.

    #52552
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @KerplunkDesign,

    Odd that it’s stopped working for some reason. Can you try adding the JS/CSS into a Text Block, and select the “Text” tab rather than “Visual”, then paste the code there?

    We’ll check the asset and hopefully find/resolve the issue for the next update.

    Thanks,

    – Ed

    #52670
    KerplunkDesign
    Member
    Post count: 46

    Hi Ed,

    Thanks for the input.
    I tried that and it still doesn’t work. It is also strange because the share function of the JS code shows up on the page, seemingly meaning that the code is being interpreted to some extent through the theme?

    Andy

    #52675
    KerplunkDesign
    Member
    Post count: 46

    Ed and Melanie,

    I got it!

    It’s not the theme. Turns out it was the code. The page needed to have jQuery library called:
    <script type=”text/javascript” src=”//display.zoomph.com/Scripts/jquery-1.7.1.min.js”></script> provided in the code for their other visualizations. I’ll have to let them know that thats not being generated for this particular version.

    Just a thought, not sure if its how it works but could the jQuery library be included with the theme?
    I may be incorrect but that code is just pulling the library from zoomph?

    Thanks for you time.

    Andy

    #52866
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Great glad you go this sorted!

    I will ask the developer about your second question.

    – Kyle

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register