PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Embed or Iframe

  1. Is it possible to Iframe or embed a form. For example facebook or alt site?

    I did read thru the forum but didnt locate a resolve on this issue. I love the forms and there ability and did come over from using wufoo.

    Thanks in advance.

    Posted 12 years ago on Wednesday May 11, 2011 | Permalink
  2. Yes, it is possible to iframe a form into another site. It can be done as a customization. There currently isn't a built in option to do this although it is something we would like to add as a Developer Add-On in the future.

    The best way to embed a form via an iframe right now is on your WordPress site create a page template in your theme that is basically a blank page with just the page content. No design/navigation/etc. Then use this Page Template for the Page you are embedding the form on, create the page and embed the form.

    Then iframe this WordPress page wherever you need to display it on a 3rd party site.

    Posted 12 years ago on Wednesday May 11, 2011 | Permalink
  3. Hi Carl - I'm curious if any more energy has gone into this kind of addon? I suppose all it would have to do is strip all of the styling and sit in it's own little vanilla page template. Not hard to create a blank template, but would be very cool to have a quick option to have a generic view option for forms created with GF. Could be a URL parameter like formpagename?style=facebook. Thanks!

    Posted 11 years ago on Wednesday May 23, 2012 | Permalink
  4. dez
    Member

    I have created a blank template with

    <?php
    /*
    Template Name: CQ Only
    */
    ?>
    <?php gravity_form(3, false, false, false, '', false); ?>

    but the page is blank.. I do not what to show the sites navigation, etc in the iframe. Is there something I am missing?

    Posted 11 years ago on Thursday July 19, 2012 | Permalink
  5. Do you have a link to this page?

    Posted 11 years ago on Thursday July 19, 2012 | Permalink
  6. dez
    Member

    http://leafywallet.com/gform2/

    Posted 11 years ago on Thursday July 19, 2012 | Permalink
  7. dez
    Member

    when you view source.. all info is there.. but all I am getting is a blank page.

    Posted 11 years ago on Thursday July 19, 2012 | Permalink
  8. I get redirected to a login page - if you need to send privately you can use rob@rocketgenius.com - just reference this thread in your email.

    Posted 11 years ago on Thursday July 19, 2012 | Permalink
  9. dez
    Member

    try now... sorry

    Posted 11 years ago on Thursday July 19, 2012 | Permalink
  10. Try including the wp_head() and wp_footer() functions and see what happens.

    Posted 11 years ago on Thursday July 19, 2012 | Permalink
  11. dez
    Member

    problem is... I do not want the header and footer to show...

    Posted 11 years ago on Thursday July 19, 2012 | Permalink
  12. dez
    Member

    it shows now...but I do not want to have the logo, header or footer visible.

    Posted 11 years ago on Thursday July 19, 2012 | Permalink
  13. dez
    Member

    i am developing a new site for this client that will not be on the wp platform.

    Posted 11 years ago on Thursday July 19, 2012 | Permalink
  14. No I didn't mean to add the header and footer HTML, I mean just those two functions:

    http://codex.wordpress.org/Function_Reference/wp_head
    http://codex.wordpress.org/Function_Reference/wp_footer

    Posted 11 years ago on Thursday July 19, 2012 | Permalink
  15. dez
    Member

    oh... Well, I did that and now it has lost css style.

    Posted 11 years ago on Thursday July 19, 2012 | Permalink
  16. Right, now just add in your custom styles you applied to the form into the head of your blank template from your stylesheet that you want to retain.

    Posted 11 years ago on Thursday July 19, 2012 | Permalink
  17. dez
    Member

    thank you

    Posted 11 years ago on Thursday July 19, 2012 | Permalink
  18. No problem, glad to help out. I'm closing this thread since it's an oldie (1 year ago). Feel free to open a new topic should you get stuck on anything.

    Posted 11 years ago on Thursday July 19, 2012 | Permalink

This topic has been resolved and has been closed to new replies.