Download as HTML file

3 posts by 3 authors in: Forums > CMS Builder
Last Post: March 4, 2012   (RSS)

I am trying to find a way to essentially allow for downloading a page as an HTML file.

I have a Newsletter creator that client will be using to creat email newsletters.. after they create one, on the preview page I have a button that I want them to click on to download the HTML version of the page so they can use it to send their email.

Is their a way to download the source code as an html file?

I cant have it download the php file b/c the data/images wil not be there.

Re: [s2smedia] Download as HTML file

By Damon - February 27, 2012

Hi,

Right clicking on the pages and using "Save as" will work, but for something else, I did a search and found some javascript:

http://www.codingforums.com/showthread.php?t=3762

I think this only works in IE so the JavaScript may need to be tweaked or alternative code found.

Hope that helps!
Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/