Forums / Templates, Stylesheets, Page Layout / iFrame Google Docs and Zencart page

iFrame Google Docs and Zencart page

Locked

Started by sunflowertami on 19 Feb 2009, 11:43 AM · Views: 1,934

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
19 Feb 2009, 11:43 AM
#1
sunflowertami avatar

sunflowertami

Zen Follower

Join Date:
Jun 2008
Posts:
267
Plugin Contributions:
0

iFrame Google Docs and Zencart page

I just recently discovered how Google docs can add functionality to my zencart without messing with codes. On using Google docs Form for instance I was able to make a simple entry form for a contest I have on my site and the results is automatically entered into a Google spreadsheet which I thought was pretty neat!

Anyway, my question is, the code given on Google to embed the form into a page is an iframe. I tried directly copying and pasting that on EZ page but it did not display so I must be doing something wrong. Right now the form is just a clickable web page but I would like to have it display on the page itself.

Can anyone help to show me the right way to embed this code? (the key is fake but I'm just showing how the code looks like)

<iframe src="http://spreadsheets.google.com/embeddedform?key=123456789" width="310" height="718" frameborder="0" marginheight="0" marginwidth="0">Loading...</iframe>
19 Feb 2009, 11:55 AM
#2
sunflowertami avatar

sunflowertami

Zen Follower

Join Date:
Jun 2008
Posts:
267
Plugin Contributions:
0

Re: iFrame Google Docs and Zencart page

nevermind, I answered my own question. you just need to put <div> </div> around it and it now displays! for those of you who are interested, google docs form is a fast, easy way to add forms on your zencart page without messing with any codes!

19 Feb 2009, 12:11 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: iFrame Google Docs and Zencart page

Just to advise...

... be careful what you use <iframe> for in zencart. Especially with sessions.

(Iframe is generally not advised - not just in zencart, but anywhere.)

20 years a Zencart User

20 Feb 2009, 12:03 PM
#4
sunflowertami avatar

sunflowertami

Zen Follower

Join Date:
Jun 2008
Posts:
267
Plugin Contributions:
0

Re: iFrame Google Docs and Zencart page

Hi.

I actually just came across iframe when working with Google docs, other than that I have not used it at all.

For my education and for others who are not familiar with it like I am, would you mind elaborating why it is not advised to use?

schoolboy:

Just to advise...

... be careful what you use <iframe> for in zencart. Especially with sessions.

(Iframe is generally not advised - not just in zencart, but anywhere.)