Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Difficulties embedding mailing list signup form.

$
0
0
I use Constant Contact, they provide a free service via FormStack to create simple custom embeddable signup forms for websites.

I generated the form and have tried to use it in a website I've put together using C1 by inserting the HTML into a ContentSpot.

But in the C1 editor it complains about the syntax.

FormStack let me generate three varieties of form: JaveScript embedded script, Lightbox and iFrame.

The JavaScript and Lightbox fail in the C1 editor, only the iFrame works but looks ugly - I know nothing about iFrames by the way - the iFrame based form is odd, it has a weird grey background and a scrollbar and I'm unclear on what to do.

So this may be a bug in C1 or I'm doing something wrong, if anyone can spare the time to reply here and help it would be greatly appreciated.

If I simply paste the code into an empty HTML page created in Visual Studio it renders fine in a browser, but the C1 editor refuses to let me save even a new empty page that has the embedded script. This looks very much like a bug in the parsing of the source view in C1.

It says: '=' is an unexpected token. The expected token is ';'. Line 9, position 74.

That line is:

<a href="http://www.formstack.com?utm_source=h&utm_medium=jsembed&utm_campaign=fa&fa=h,1923452" title="Web Form Builder">Web Form Builder</a>

and position 74 is the second '=' character in the line (i.e. _medium=jsembed)

Thanks

Hugh

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>