WordPress.org

Ready to get started?Download WordPress

Forums

How to add in a Post Preview Option (14 posts)

  1. Anonymous
    Unregistered
    Posted 10 years ago #

    okay lets jus see what happens

  2. shelleyp
    Member
    Posted 10 years ago #

    Well, anonymous -- feel free to email me for additional directions if you can't get it working. But you'll have to actually identify yourself.
    Too bad.
    Too too bad.

  3. WillM
    Member
    Posted 10 years ago #

    nice hack, but why isn't it in the hacks section?

  4. shelleyp
    Member
    Posted 10 years ago #

    It will be, with a half a dozen others I'm doing. I wanted to finish all of them and clean up the code and actually document it before posting in the official documentation wiki.
    Once I finish the last hack -- the redirects for the old MT pages to the new WP pages-- then I'll be done this round, and will put it all online. Promise.
    (Of course, there's a comment preview....hmmm)

  5. carthik
    Member
    Posted 10 years ago #

    Great! Have you looked at Alex's Redirecting MT requests effort?

  6. Matt Mullenweg
    Troublemaker
    Posted 10 years ago #

    It would be neat to put this in an iframe, maybe refreshed with javascript command?

  7. shelleyp
    Member
    Posted 10 years ago #

    There really isn't room on the page for a preview. If there were, you'd have to put it at the bottom and then scroll back and forth to look at it.
    I prefer the separate page. If I make another hack for my own version, it would be to refresh this page everytime the person hits the Save and Continue button.
    However, I did just notice that there is a bug in 1.02 in that draft mode isn't taking once you publish a post. I imagine this is fixed in 1.2, but will probably look at fixing this in 1.02, too.
    Even when I go to 1.2, I'll probably take this hack with me -- I like the separate page.

  8. OperaManiac
    Member
    Posted 10 years ago #

    why cant we incorporate the same preview feature that some guy made for the comment thingy... that worked well in all browsers!

  9. Chris J. Davis
    Member
    Posted 10 years ago #

    Whoo Hoo! Long Live my comments preview port! I was thinking of hacking something up for this as well.
    Be back in a bit with some expamples and possible implementations...
    Chris

  10. OperaManiac
    Member
    Posted 10 years ago #

    jesuit, make a plugin for it please...

  11. shelleyp
    Member
    Posted 10 years ago #

    If the direction is to go with the live preview on the same page as the edit, should I bag providing my alternative then? I don't want to put in the time to clean up or document if it's only being used by myself.

  12. Chris J. Davis
    Member
    Posted 10 years ago #

    Okay I was lying about the plugin thing... it is all done. You can find it here: http://chrisjdavis.org/hacks/wp-preview.phps
    Shelleyp: No, no. This is all about choice! There will be people who will want it in another page/pane, so they won't use mine; also not everyone is going to want a live preview of what they are typing.
    I for one would love to see what you are working on , and I think Allusion and the other devs would like it as well.
    Hack on!
    Chris

  13. Chris J. Davis
    Member
    Posted 10 years ago #

    You can now find more info on the wiki under plugins.

  14. Chris J. Davis
    Member
    Posted 10 years ago #

    Oh and I fixed the problems with the "too many spaces" junk.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.