Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2008
    Posts
    255
    Plugin Contributions
    0

    Default 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>

  2. #2
    Join Date
    Jun 2008
    Posts
    255
    Plugin Contributions
    0

    Default 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!

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default 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

  4. #4
    Join Date
    Jun 2008
    Posts
    255
    Plugin Contributions
    0

    Default 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?


    Quote Originally Posted by schoolboy View Post
    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.)

 

 

Similar Threads

  1. Export order info to Google Docs
    By hockey2112 in forum Managing Customers and Orders
    Replies: 0
    Last Post: 10 Jan 2012, 12:16 AM
  2. Replies: 5
    Last Post: 4 Mar 2011, 03:54 AM
  3. can I place Zencart in a Iframe?
    By touchclothing in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 31 Jul 2008, 08:23 PM
  4. Host is installing PHPSUEXEC. Docs sound like it's detrimental to ZenCart.
    By Yizit in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 8 Jun 2008, 09:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg