- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
I have an html file saved in the 'assets' folder of my weebly directory that I would like to render on a standard page via an IFRAME element.
However, when I embed the html code via a Weebly html element, nothing renders on the page.
HTML code:
<html>
<body>
<iframe height="600" width="100%" src="/images/buildingKeyspaces_verI_full.html"></iframe>
</body>
</html>
We seem to not be provided with a folder for general storage of site assets, so the options are the "assets" directory, which is meant for css pages, or the "images" directory. I tried both - none of which have worked.
When I reference the 'assets' folder, the html code looks like:
<iframe src="/files/theme/buildingKeyspaces_ver1_full.html"></iframe>
Will Weebly's html interpreter not work on a static html page? I have no idea why this is not rendering...
FYI: I am choosing to render the html document in this fashion because there are a lot of stylings on the html (ipython notebook) and embedding the html on a page directly (via a Weebly html element) eats Weebly's navigation menu, and so rendering via an iframe was my solution.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report

- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Anything uploaded to the assets folder always has the same URL structure:
/files/theme/filename.extension
Is this on your live site right now?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report

- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Anything uploaded to the assets folder always has the same URL structure:
/files/theme/filename.extension
Is this on your live site right now?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Hi Adam,
Yes this is on the live site.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report

- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Your iframe test is working for me on your live site. I see the contents of the HTML file you uploaded for your theme.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Today, it seems that HTML (.html) files uploaded to under ASSETS are no longer being served as text/html, but text/plain. Therefore, I'm afraid no uploaded HTML file can be served correctly anymore.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report

- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Were you able to do that before, @hko? To the best of my knowledge, it was never possible to add an .html file to assets. If you want to use a page like that, create a new page template with your HTML code, then choose that page type for a regular page of your site.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
@Adam wrote:Were you able to do that before, @hko? To the best of my knowledge, it was never possible to add an .html file to assets. If you want to use a page like that, create a new page template with your HTML code, then choose that page type for a regular page of your site.
I'm absolutely posibitive that until 2017-4-23 PST, I have been able to upload .html to uder ASSETS, and Weebly has been returing it as text/html Content-type. However, this is no longer the case, .html will be returned as text/plain, thus breaking many pages used to work before.
The begining of this thread discussed about how people reference uploaded .html, which is also the sign and proof of this works before, but not any more. For example,
<iframe src="/files/theme/buildingKeyspaces_ver1_full.html"></iframe>
I think Weebly unintentionally changed nginx setup and accidentally blocks .html from being returned with correct Content-type. To render .html, the correct type should be text/html, not text/plain.
I believe it's either a bug, or a shift in product decision.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Same issue - urgent fix required
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report

- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
I'll see if I can find out which it is and let you know, @hko. I think the simplest solution in the meantime is to just include the contents of your HTML page directly in the embed code element directly (sans <html>, <head>, and <body> tags of course).
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
The simplest solution is for Weebly to revert back the changes.
Embed HTML using custom HTML component won't work in many cases, especially when Weebly template always requires to have header, navigation, and footer to be on the HTML page.
We need to upload HTML files without having header, nav, footer on the page, so it can be neatly iframe'd onto some other Weebly pages.
Pages are down. People like myself and @bellatui we need urgent fix. Please help!
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Same issue - urgent fix required
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
I confrim the issue. HTML files where working fine in iframe, now they attempt a download instead of displaying contents
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Hey there! Just checking in, if you haven't yet had the chance, let our support team know where this is happening, so we can take a closer look for you.
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
This is exactly what is happening to us
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Has anyone found a solution for this ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
3 years later ... sad
on hold for tech support for 17 minutes now.. also sad.
open chat window too.... no agent responding.... more sadness.
If you cannot support your product with the current rates, raise your rates and deliver.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Also: If you are going to appear to allow the upload of html files to assets only to mysteriously delete it, maybe throwing a message box that says html files in assets is no longer supported. or something....
also tech support queue update..... 25 minutes and counting... only 3 or 4 songs in queue for hold music.... good tunes.... but so sad.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report