Tagged: cornerstone
-
AuthorPosts
-
May 19, 2016 at 7:00 am #999254
How would I add the following script to insert a form, made with CoffeeCup Web Form Builder, into site please? I’ve tried several different things from forum search but nothing worked so far. Using latest X and WordPress, Renew Stack.
<script type="text/javascript">// < ![CDATA[ // < ![CDATA[ document.write(unescape("%3Ciframe id=\"fb_iframe\" src=\"http://foothillscraftguild.org/x-site/formsonline/friendsdonate/friendsdonate.php" + window.location.search + "\" width=\"100%\" height=\"1934\"allowtransparency=\"true\" scrolling=\"no\" frameborder=\"0\"%3E<a href="http://foothillscraftguild.org/x-site/formsonline/friendsdonate/friendsdonate.php" title="friendsdonate">Check out my CoffeeCup Form</a>%3C/iframe%3E")); // ]]></script> <noscript> <iframe height="1934" style="border:none; background:transparent; overflow:hidden; width:100%;" id="fb_iframe" src="http://foothillscraftguild.org/x-site/formsonline/friendsdonate/friendsdonate/friendsdonate.html"> <a href="http://foothillscraftguild.org/x-site/formsonline/friendsdonate/friendsdonate.php" title="friendsdonate">Check out my CoffeeCup Form</a> </iframe> </noscript>
Thank you in advance for your assistance!
May 19, 2016 at 7:54 am #999323Hi,
Thanks for writing in!
You can add your code in a raw content element.
Thanks
May 19, 2016 at 4:30 pm #1000301Thank you very much. I should have let you know and I apologize I didn’t, before I wrote I tried that, and tried adding it straight in text mode in WordPress, neither way worked. It worked adding through WordPress editor text mode, but it broke other parts I did in Cornerstone. I tried custom js area in Cornerstone as well but it yielded no results whatsoever.
May 19, 2016 at 9:22 pm #1000727Hi there,
In that case, please provide your site’s URL and admin login credentials for testing. I also like to know which versions you’re currently working on.
Thanks!
May 19, 2016 at 11:45 pm #1000913This reply has been marked as private.May 20, 2016 at 12:41 am #1000974Hello There,
Which page do you want to add this script? Do you want this is a single page or put it somewhere like the header which will be visible for the whole through out the site?
Please clarify.
May 20, 2016 at 3:50 pm #1002085This reply has been marked as private.May 20, 2016 at 11:45 pm #1002605Hi there,
Is it the correct code? I added it and it’s there, but should it display something?
Thanks!
May 21, 2016 at 2:56 am #1002713This reply has been marked as private.May 21, 2016 at 6:46 am #1002868Hello There,
It appears that your code is not correct. To resolve this issue, please edit your page in Cornerstone, insert a Raw Content element and then you need to add this code instead:
<script type="text/javascript"> <![CDATA[ document.write(unescape('<iframe id="fb_iframe" src="http://foothillscraftguild.org/x-site/formsonline/friendsdonate/friendsdonate.php" + window.location.search + "" width="100%" height="1934"allowtransparency="true" scrolling="no" frameborder="0"><a href="http://foothillscraftguild.org/x-site/formsonline/friendsdonate/friendsdonate.php" title="friendsdonate">Check out my CoffeeCup Form</a></iframe>')); ]]></script> <noscript> <iframe height="1934" style="border:none; background:transparent; overflow:hidden; width:100%;" id="fb_iframe" src="http://foothillscraftguild.org/x-site/formsonline/friendsdonate/friendsdonate/friendsdonate.html"> <a href="http://foothillscraftguild.org/x-site/formsonline/friendsdonate/friendsdonate.php" title="friendsdonate">Check out my CoffeeCup Form</a> </iframe> </noscript>
I have tested this code in my local install and this is what I’ve got:
http://prntscr.com/b6ns2cI would recommend that you please double the code from the original source to make sure that it will display correctly on the page.
May 23, 2016 at 10:57 pm #1006530This reply has been marked as private.May 24, 2016 at 12:31 am #1006608Hi there,
Loading a form from different source is never a good idea and it doesn’t look good or perform well. You can use a plugin like Gravity Form or Contact Form 7 to build form to use on your page. Unfortunately we can’t assist much for the form you are working on as it’s loading from a different source that couldn’t be controlled anyhow.
Thanks for understanding.
May 24, 2016 at 7:23 am #1007091I will just put the code in WordPress editor, I looked and saw that the other forms are still performing well. Not sure the difference but there’s some little quirky thing somewhere I’m sure that would alleviate the problem. It’s always a dot, comma, hypen . . . LOL
The form is loading from our own hosting account where I uploaded them, or maybe I didn’t quiet understand your statement about that.
Thank you for your assistance thus far, it is greatly appreciated. I don’t mind to have a few pages I can’t use Cornerstone and things on; the forms are most important.
Have a great day!
May 24, 2016 at 7:45 am #1007142Hi There,
Thanks for understanding.
Let us know if you need help with anything else.
Joao
May 24, 2016 at 10:53 am #1007493Thanks so much! I did see something and tried my best to not care, but I can’t, I gotta see if it can be fixed
On the pages with a form on them at the top there’s a sliver of color, then at the bottom there’s a row of color (white). I’ve tried firebug inspect and there’s nothing showing on text editor in WordPress so I can’t find any coding to remove to fix it. I’ve not been in Cornerstone, I’m afraid of breaking something if I go back and forth. I’ll paste three page links below.
-
AuthorPosts