Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Flexform › Raw Javascript element
New Landing › How can we help? › Themeforest Theme Support › Flexform › Raw Javascript element
- This topic has 8 replies, 4 voices, and was last updated 10 years by Kyle – SUPPORT.
-
Posted in: Flexform
-
February 25, 2014 at 6:36 pm #51803
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.February 26, 2014 at 11:23 am #52007Hi, can you see if it works upon using the main theme?
February 26, 2014 at 11:24 am #52008Also, please try deactivating all your plugins to see if that changes anything.
February 26, 2014 at 4:08 pm #52128Hi,
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.
February 26, 2014 at 4:17 pm #52135This 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.
February 27, 2014 at 4:03 pm #52552Hi @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
February 27, 2014 at 8:54 pm #52670Hi 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
February 27, 2014 at 9:30 pm #52675Ed 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
February 28, 2014 at 11:33 am #52866Great glad you go this sorted!
I will ask the developer about your second question.
– Kyle
-
Posted in: Flexform
You must be logged in and have valid license to reply to this topic.