now only the content between the <body></body> tags is editable. if you open a complete 'html-webpage', edit it and then save the html-document,
all meta-tags, css and javascript infos as well as the body bgcolor, etc.!!
the complete webpage is smashed!!
this a user should know, but it would be nice if one could edit the complete web-page, including
the html-overhead and the bgcolor, etc.
if this function would be integrated, a user could for example:
- edit content
and a admin could
- edit design and content, etc.
hope that someone can pass a solution/code snippet to the forum !!
<html><head><title></title></head><body></body></html> tags are deleted, and of course
all meta-tags, css and javascript infos as well as the body bgcolor, etc.!!
the complete webpage is smashed!!
this a user should know, but it would be nice if one could edit the complete web-page, including
the html-overhead and the bgcolor, etc.
if this function would be integrated, a user could for example:
- edit content
and a admin could
- edit design and content, etc.
hope that someone can pass a solution/code snippet to the forum !!
RE: how edit and save a complete 'html-webpage' ?
RE: how edit and save a complete 'html-webpage' ?
can you mail to me your php script or post it into this forum thread?
RE: how edit and save a complete 'html-webpage' ?
I have thrown together a VERY quick and dirty script for "wrapping" the HTML from the editor with the proper tags to create a complete web page.
I have not tested it (I said I threw it together, didn't I?) but it should work with no problems. You can always contact me if you have any problems with it, but I don't really plan on providing "support" per se. Most of you should be able to adapt it to your own needs - it is VERY simple and straight forward.
Get it in zip form here: http://www.eightseventeen.com/fck_html_wrap.zip