Please note that I am very new to Drupal and am figuring things out as I go along. I am assisting with a site that was already built and simply needs updates now that the original administrator can no longer do so.

On two pages, there are iFrames that display correctly on the pages themselves. However, when I go to edit those pages the iFrame code is not visible. In addition, I am unable to get an iFrame to display on another page - I just end up with the code displayed on the page instead.

Does anybody have some idea what I am missing and what action I should take?

Comments

VM’s picture

Doesn't sound like the HTML for the iframe is being pulled from the database. Are you sure there aren't any custom tpl.php files handling them?

to use iframe html in text area within a node you must use a text format that includes the iframe tag.

SEAmbr’s picture

It's really strange but I actually updated the URLs in the two iFrames that are working about a week or so ago. I had no problem then. The HTML loaded, I updated the URLs, and the iFrames still worked. Do you have a guess what could have changed to cause them not to load in the editor now even though they did previously? As for your question about a .php file, I am not sure. I would guess not because I was able to update them in the editor recently and I don't believe that anybody else would have made a change.

I've tried adding an iFrame on the new page using Filtered HTML and Full HTML. Filtered HTML did not work at all, and Full HTML displayed the code on the page itself. In Text Formats > Full HTML, I've confirmed that "Display any HTML as plain text" is not checked. Apologies for the newbie questions, your help is appreciated.

___

UPDATE: I have been able to successfully add an iFrame to the new page. I will have to keep looking into the reason that the HTML is not showing in the editor, but I believe it is related to CKEditor 3.6.1.7072.