WordPress.org

Ready to get started?Download WordPress

Forums

Front-end Editor
Not reloading page on 'save' (6 posts)

  1. foxy123
    Member
    Posted 3 years ago #

    I recently upgraded my wordpress installation to 3.0.4 and have been having problens with FEE. I guess my theme is not completely compatible. I have been following the theme advice in http://scribu.net/wordpress/front-end-editor/common-mistakes-in-themes.html to bring it into line but I'm obviously not quite there yet.

    Checked the jquery version. Adding <?php wp_footer(); ?> to the footer and checking the the_title() code means that the editor window now appears after a double click. I can edit the code but when I click 'save' the page jumps back to the original text. Doing a page refresh does show the updated text so it is actually saving the changes... just not refreshing the page. Happens in IE and Firefox.

    Does anyone have any suggestions where to look to get the page to refresh? I've checked in firebug and there are no errors shown. It just doesn't refresh.

    many thanks for any help

  2. scribu
    Member
    Plugin Author

    Posted 3 years ago #

    For clarity's sake, what you mean when you say "refreshing the page", you actually mean "refreshing the content", as that's the whole point of AJAX: to only update part of the page.

    I don't know what's causing the problem, but please answer me this: do you see a little spinner just after you double-click and then after you hit save?

  3. foxy123
    Member
    Posted 3 years ago #

    hi, yes I mean refresh the entire page content and the edits appear.

    When I double click there is no spinner... a pause and then the edit window appears. When I hit save there is no spinner. It jumps back straight away to the 'unedited' page.

    I have used various versions of Explorer as well as Firefox.

    thanks

  4. magblogapi
    Member
    Posted 3 years ago #

    I just uploaded the current version (1.9.3) to my WP 3.1 site, and here's what happens:

    1) I get the yellow highlight (is it possible to change the highlight color? The background for my site is parchment).

    2) I edit the text (WYSIWYG or HTML -doesn't matter).

    3) I hit "Save."

    I get the spinner and "grayed out" screen.

    Forever.

    If I reload the page, the text has "taken," so it was successful. It just never comes back from the AJAX call to tell me so.

    I suspect there's something that I can do to fix it in my code, but I'm not sure what.

  5. scribu
    Member
    Plugin Author

    Posted 3 years ago #

    See what the AJAX request is returning with Firebug.

    For the highlight color, see http://wordpress.org/extend/plugins/front-end-editor/faq/

  6. magblogapi
    Member
    Posted 3 years ago #

    Thanks!

    It works when I edit a heading, but not when I edit the main text.

    That being said, I used Charles Proxy to examine the response. Looks like it is interacting badly with my plugin (BMLT). I'll poke around a bit more.

    It's a great plugin, and I look forward to getting it to work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic