Loading

iframe issue

I tried to enter:

src="http://a.tiles.mapbox.com/v3/mroswell.house-agriculture-committee.html#4/32.713/-96.240frameborder="0width="640height="490">


Unfortunately nothing displays. And when I go back to edit the html, it's gone as well. One of your community pages, http://nationbuilder.com/coordinating_nationbuilder_with_other_cms, says that iframes are allowed. Is that no longer true? 

It's very imortant to me to be able to display this content on my site. (MapBox is an awesome service.)

Official response from Jesse Haff

You can still use iframes. When editing a page, click on Template and enter the iframe where you wish. You just can't put an iframe in the Content wysiwyg editor.

How would you tag this suggestion?
Do you like this suggestion?

Showing 19 reactions


Lilia Villa commented 2013-02-07 12:10:59 -0800 · Flag
Ah! Glad to see you figured it out!
Chris Kellogg commented 2013-02-07 12:01:14 -0800 · Flag
Second note: ad blocker was the problem, I was using an amazon affiliate’s iframe, did not realize my ad blocker was switched on, and it was preventing the iframe from loading. Future note to anyone using embedding: disable ad blockers
Marjorie Roswell commented 2013-02-07 11:57:29 -0800 · Flag
I am able to see the link in firefox.
Chris Kellogg commented 2013-02-07 11:56:19 -0800 · Flag
Wow, Lilia thank you for your time, it turns out the iframe issue was a problem with FireFox, not the website itself. I am very sorry for taking up your time like this, thanks to all for helping me out. If someone has the chance to visit the site in firefox, please do so and see if the problem persists, maybe its a bug for that browser only, or I need to reinstall!
Lilia Villa commented 2013-02-07 11:55:00 -0800 · Flag
Chris, I just sent you an email with a screenshot. The iframe is showing up. You may want to clear your cache or do a hard refresh. I am seeing it work on my end. If you find that you are still not seeing it, please send us a bug report from within your nation with your browser information. Thanks.
Chris Kellogg commented 2013-02-07 11:52:04 -0800 · Flag
I did click save & publish, please read comments below, I was able to get the text “Does this text work?” to show up via editing the template, however the iframe still does not show up
Lilia Villa commented 2013-02-07 11:50:41 -0800 · Flag
Actually, Chris, I am able to see the iframe now, and the image that came with it. Perhaps you had not clicked on ‘Save & Publish’ and had the template in draft mode. I just clicked publish and it works.
Chris Kellogg commented 2013-02-07 11:50:16 -0800 · Flag
Ah, Html is not supported, is there anyway I can post HTML?
Chris Kellogg commented 2013-02-07 11:49:51 -0800 · Flag
Lilia, I understand they are supported, but there is a bug somewhere preventing it from working. The iframe shows up in source code when I load the page, but its greyed out as if it is being ignored. My content div looks like this:


{{ page.blog_post.content_full }} Does this text work?
Lilia Villa commented 2013-02-07 11:48:34 -0800 · Flag
Actually, Chris, I am able to see the iframe now, and the image that came with it. Perhaps you had clicked on ‘Save & Publish’ and had the template in draft mode. I just clicked publish and it works.
Chris Kellogg commented 2013-02-07 11:39:38 -0800 · Flag
Wow sorry for all the grammatical issues below, I also meant to add that I was using this support article: http://nationbuilder.com/does_nationbuilder_support_iframes
Chris Kellogg commented 2013-02-07 11:37:45 -0800 · Flag
I added it to the template, just like the documentation specifies. You can even find the code I using firebug or viewing the source: http://josho.nationbuilder.com/testing_amazon_affiliates

The text the says “Does this text work?” was added via the template editing the HTML for that blog post directly, not using the WYSISYG editor.

Why won’t the iframe display?
Marjorie Roswell commented 2013-02-07 10:21:17 -0800 · Flag
Chris, did you add it to the “content,” or to the “template?”
Chris Kellogg commented 2013-02-07 09:56:56 -0800 · Flag
I don’t understand, when I add the iframe to the page template, nothing appears
Lilia Villa tagged this with Answered 2012-05-15 09:14:53 -0700
Tsuyoshi Orihashi tagged this with Not Helpful 2012-03-17 17:43:28 -0700
Marjorie Roswell commented 2011-12-19 09:50:13 -0800 · Flag
Thanks.
Jesse Haff responded 2011-12-19 07:37:31 -0800

I tried to enter:

<iframe src="http://a.tiles.mapbox.com/v3/mroswell.house-agriculture-committee.html#4/32.713/-96.240" frameborder="0" width="640" height="490"></iframe>


Unfortunately nothing displays. And when I go back to edit the html, it's gone as well. (It's reminding me of input filters in Drupal). One of your community pages, http://nationbuilder.com/coordinating_nationbuilder_with_other_cms , says that <iframes> are allowed. Is that no longer true? 

It's very imortant to me to be able to display this content on my site. (MapBox is an awesome service.)