{"id":2090,"date":"2012-02-12T22:21:51","date_gmt":"2012-02-12T21:21:51","guid":{"rendered":"http:\/\/chiperoni.ch\/wordpress\/?p=2090"},"modified":"2012-02-12T22:42:01","modified_gmt":"2012-02-12T21:42:01","slug":"drupal-7-wrapper-for-an-html-file","status":"publish","type":"post","link":"https:\/\/chiperoni.ch\/wordpress\/2012\/02\/drupal-7-wrapper-for-an-html-file\/","title":{"rendered":"Drupal 7: Wrapper for an HTML file"},"content":{"rendered":"<p>I was looking for a wrapper for an HTML file, like Joomla offers.  <\/p>\n<p>I found a way to load an existing HTML file into my Drupal 7 site using a module called <a href=\"http:\/\/drupal.org\/project\/insertFrame\">insertFrame<\/a>.<\/p>\n<p><a href=\"http:\/\/www.flickr.com\/photos\/chiperoni\/6865304849\/\" title=\"insertFrame de nchenga, sur Flickr\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm8.staticflickr.com\/7196\/6865304849_493636c680_m.jpg\" width=\"240\" height=\"44\" alt=\"insertFrame\"\/><\/a><\/p>\n<p>In <em>\/admin\/config\/content\/formats\/full_html<\/em> select the box <strong>Include iFrame with auto-height feature<\/strong>.<\/p>\n<p>Then add<br \/>\n<code>[[[http:\/\/www.myurl.com\/myapp.html]]]<\/code><br \/>\nto a page or post.<\/p>\n<p>I still have a weird error message to fix:<br \/>\n<code>Notice: Undefined offset: 1 in _insertFrame_getHTML() (line 118 of \/myurl.com\/sites\/all\/modules\/insertFrame\/insertFrame.module<\/code><\/p>\n<div class=\"syndication-links\"><\/div>","protected":false},"excerpt":{"rendered":"<p>I was looking for a wrapper for an HTML file, like Joomla offers. I found a way to load an existing HTML file into my Drupal 7 site using a module called insertFrame. In \/admin\/config\/content\/formats\/full_html select the box Include iFrame with auto-height feature. Then add [[[http:\/\/www.myurl.com\/myapp.html]]] to a page or post. I still have a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"mf2_syndication":[],"footnotes":"","jetpack_post_was_ever_published":false},"categories":[5,9],"tags":[766,596,595,597],"class_list":["post-2090","post","type-post","status-publish","format-standard","hentry","category-cms","category-tech","tag-drupal","tag-html","tag-insertframe","tag-wrapper"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1LJxC-xI","_links":{"self":[{"href":"https:\/\/chiperoni.ch\/wordpress\/wp-json\/wp\/v2\/posts\/2090","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chiperoni.ch\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chiperoni.ch\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chiperoni.ch\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/chiperoni.ch\/wordpress\/wp-json\/wp\/v2\/comments?post=2090"}],"version-history":[{"count":0,"href":"https:\/\/chiperoni.ch\/wordpress\/wp-json\/wp\/v2\/posts\/2090\/revisions"}],"wp:attachment":[{"href":"https:\/\/chiperoni.ch\/wordpress\/wp-json\/wp\/v2\/media?parent=2090"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chiperoni.ch\/wordpress\/wp-json\/wp\/v2\/categories?post=2090"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chiperoni.ch\/wordpress\/wp-json\/wp\/v2\/tags?post=2090"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}