×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

saving the modified HTML back to a file

saving the modified HTML back to a file

saving the modified HTML back to a file

(OP)
I have implemented a WYSIWYG editor that allows users to modify websites from browser. I now can make the changes to a page, but i need to save those changes. I tried to use innerHTML and save that, but innerHTML is not giving the actual source . I need a way by which i can take the current(modified) contents of a page and save it. If anyonehas suggestions plsss tell...this is urgent!!!!

RE: saving the modified HTML back to a file

Hi

The subject of the thread sounds like something solved in TiddlyWiki, so I would take a look at their saving trick.

But the content of your post sounds like you are editing an element and wanting to get the source of the whole document. Which as far as I know, is not possible.

Feherke.
http://free.rootshell.be/~feherke/

RE: saving the modified HTML back to a file

jacowacko,

From the sound of your post, you've confused 2 different things: Static websites and Dynamic websites.

Using a CMS produces dynamic websites, where the "pages" are built "on the fly."  You can still use a WYSIWYG editor, however you need to modify other things such as:
Themes and/or Styles
Nodes or whatever the particular CMS uses for "pieces" of the website.

If you edit the actual "page" per se, you're headed for a mess, and frankly, the CMS will not function correctly at all.  At best, you'll get a static page that probably does not have everything where it's supposed to be.

What you COULD be referring to is something like FCKEditor or CKEditor, where you can allow "members" to edit certain portions of a "site" such as blog posts, forum posts, etc.

Let us know if that's the case, and then give a little more detail as to the specifics of your issue/problem (so, maybe give us a walk through type example of what is not happening that should be.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close