• Hi –

    I’m in the process of setting up a site with member interaction and the client would really prefer to keep the members out of the backend. I’m using the modified “user frontend”-plugin to manage posts and profiles in the front-end, and FEE to edit existing posts, but so far, publishing new posts is limited to using a simple form. So I was wondering about the following – I’m adding a “new entry” button to the admin bar, and if that button would not link to the form page, but call a script that would not output anything, but use insert_post with some standard content and then forward to the preview page of the just created post, wouldn’t the FEE be able to edit it?

    To the editor, it seems this would be regular editing, but to the user it would look like editing a new post.

    Is my assumption correct? Would this work?

    Thanks for a brief tip before I start coding it 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author scribu

    (@scribu)

    Yes, Front-end Editor can handle draft posts.

    Interesting approach, by the way.

    Plugin Author scribu

    (@scribu)

    Here’s a similar approach that I might consider including in the plugin:

    Make a page and assign it a custom template:

    // Template Name: Add Post
    
    fee_inject_dummy_post( $replace_first_post = true );
    
    while ( have_posts() ) : the_post();
    
    ...
    
    endwhile;

    The only special thing about it would be the call to fee_inject_dummy_post(), which would do some trickery to the $wp_query object.

    Plugin Author scribu

    (@scribu)

    Ah, yes, I remember why I hesitated to add this:

    You still have to double-click on each post element to edit it, instead of all at once, making it a sub-optimal workflow.

    Thread Starter youngmicroserf

    (@youngmicroserf)

    Hey Scribu –

    You still have to double-click on each post element to edit it, instead of all at once, making it a sub-optimal workflow.

    that is a fair point… in my case I suppose that may even be preferable. But for more general applications, I suppose you’re right. Would it be impossible in the current plugin logic to activate and save all FEE elements simultaneously?

    Plugin Author scribu

    (@scribu)

    It would require some non-trivial modifications, but it’s possible.

    The biggest problem would be how to automatically position the Save and Cancel buttons in this case.

    This might not be so hard with the Aloha editor that I’m thinking of integrating. See http://wordpress.org/support/topic/plugin-front-end-editor-inheritance-site-section-design

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Front-end Editor] Would this work to use FEE to post a new entry?’ is closed to new replies.