Forum Replies Created

Viewing 15 replies - 136 through 150 (of 193 total)
  • Hey,
    This should now be fixed on Github: https://github.com/Automattic/Edit-Flow. If you have the chance and can test it out, that’d be great!

    Thanks,
    CJ

    No problem!
    So let’s assume I’ve registered a custom post type in the following way:

    function i_love_reading() {
        $args = array(
          'public' => true,
          'label'  => 'Books',
          'taxonomies' => array( 'category' )
        );
        register_post_type( 'book', $args );
    }
    add_action( 'init', 'i_love_reading' );

    I’ve included in my registering of the custom post type ‘taxonomies’ (important if you’d like your custom post type to show up in the budget).

    The other snippet of code you’ll need (probably best to put it somewhere in your functions.php) is the following:

    add_filter( 'ef_story_budget_posts_query_args', 'story_budget_custom_post_type_filter' );
    
    function story_budget_custom_post_type_filter( $args ) {
    	$args['post_type'] = array(
    		'post',
    		'page',
    		'book'
    	);
    
    	return $args;
    }

    Notice in the story_budget_custom_post_type_filter function I add to the $args array the ‘post_type’, and within that I have ‘post’, ‘page’, and my custom post_type, ‘book’. After I add that snippet, the custom post type ‘book’, will show up in the story budget. Add or remove more post_types in that function to show or hide them in the story budget.

    Make sure to be careful when modifying your functions.php file!

    Jeez, my bad. Didn’t see this reply (email going a little wonky). Let me work on it a bit and see if I can whip something up. Could be useful to put on editflow.org, as it seems like something other folks might want to utilize.

    If the above doesn’t work (and I’m not sure that it will), you should be able to do the following:
    Check out this filter (ef_story_budget_posts_query_args), which you should be able to modify to pull in different post types into the budget. It just utilizes WP_Query, so you should be able to reference the following page when modifying the arguments for that query.

    If you need any help implementing feel free to reply back here.

    Ah whoops, that’s for calendar. You’re problem is with the story budget. I’ll try and work that out, but in the meantime, see if selecting a few items in the calendar settings changes anything for the story budget.

    Sorry about the delay.

    If you click the Edit Flow menu link in the WordPress admin and then click on Calendar, do you see an option to select more post types then just Post to appear in the calendar?

    A link to imgur with a screenshot for reference.

    You should be able to see other custom post types that you’ve created in the calendar settings and after selecting them they should appear in the calendar. If that’s not the case, reply back here and I’ll try and work out what’s going on.

    Hey,
    Is the date range set correctly on your budget? (ie: If you only have posts from Oct 23rd, 2013, is your budget set to show posts from Oct 23rd onward, or Oct 24th (today) onward?).

    If that’s all correct, the next thing that would be helpful is what kind of plugins and theme are you currently using?

    Thanks for the comprehensive response! Regarding the second issue: I spent some time tackling this and you can check out/test the changes here.

    It should fix the following issues I noticed:
    Issue #1

    1. Create a New Post under status Pitch
    2. Change the Status to Assigned
    3. User then submits it to Pending Review
    4. Editor tires to push it to Ready to Publish and the Publish status should continue to say immediately.

    Issue #2

    1. Create a New Post under status Pitch
    2. Leave post and revisit in an hour or more
    3. Click editnext to Publish immediately
    4. Previously, the date the post as first saved. Now, the date should show up as the current time (as it does when Edit Flow is deactivated)

    If you have the time to spare for testing out this fix, that would be tremendously helpful. The faster this patch can be tested and debugged, the quicker it can be placed into Edit Flow core.

    Excellent, thanks!

    Good to hear that’s fixed! If you have a minute, would you be able to walk through the issue you’re having with Quick Edit?

    I’ll list the steps I did to try and reproduce:
    1) Install a WordPress instance with/with out EditFlow
    2) Create a post and save it as a draft
    3) Go back to the same post a little bit later with Quick Edit and switch it to publish
    4) The post shows up as being published when I first created it (without EditFlow being installed at all).

    The steps are identical whether I have EditFlow or not.

    I also tried the following with and without EditFlow:
    1) Install a WordPress with/without EditFlow
    2) Create a post and save it as a draft
    3) Go back to the same post a little bit later with Quick Edit and do nothing but hit save
    4) Go to the post edit screen a little bit later and hit publish

    Whether I had EditFlow installed or not, when I went to the post edit screen and clicked publish, it stayed at the date when I did nothing but hit save with Quick Edit. Are you experiencing something similar, or did the steps to reproduce differentiate?

    Thanks,
    CJ

    Not sure we have that now, and it would be an interesting use case (right now I don’t think you can bulk edit post meta, and “Editorial Metadata” is just a little more organized version of that), but I’ll mess around a bit. Might be something useful to add the “extend” section of editflow.org

    Hey,
    Quick follow up regarding the archives issue. What sort of plugins and theme are you currently using? Trying to trigger this issue but having some difficulty getting it to occur. The archives you’re referring to are your daily, monthly, yearly archives, correct?

    Thanks,
    CJ

    Currently there is no commercial/pro version available (not sure about similar one’s, there are some plugins that have small bits and pieces of the core edit flow functionality (Editorial Calendar comes to mind) but I’m not sure about one that unites all the functionality under one roof.

    The plugin’s taken a bit of a dive but we’re working right now to get it back shape. Currently working on fixing up any hiccups with 3.6 and will continue to roll out new features once a firmer timeline is established.

    Stay tuned, and if you’re interested in contributing you’ll definitely want to check out the GitHub repository: https://github.com/Automattic/Edit-Flow. Code contributions are by no means the only thing there’s a need for. Reporting bugs and testing are vital pieces of the puzzle as well.

    If you have anymore questions I’ll be happy to answer them.

    Thanks!
    -CJ

    Sorry about that, looks like there’s a syntax error in the code that was in that last post.

    add_filter( 'ef_editorial_metadata_user_dropdown_args', 'efx_editorial_metadata_user_dropdown_args' );
    function efx_editorial_metadata_user_dropdown_args( $args ) {
       $args['include'] = array( 1, 2, 3 );
        return $args;
    }

    Could you try this and see what you get? From what it looks like this would limit certain users (users with user id’s 1, 2, 3). It should be fairly easy to rewrite this to just get all users ID’s from user’s within a certain usergroup and place them in that array. But first try pasting this back in and seeing if it works on your site. If it does, we can walk through extending it a bit to get it working like how you’ve specified.

    If you’re interested, there’s a dire need for folks to file issues on Edit Flow’s GitHub issues page. Reporting issues there is definitely the quickest way to get them fixed (helps to keep things organized and flowing smoothly).

    There’s a fix in the works that will hopefully solve the first issue that jeffr0 mentioned (you can find it here https://github.com/Automattic/Edit-Flow/issues/206).

    Right now we’re looking to get a new version out the door that at bare minimum fixes the issues related to 3.6. If you ever have spare time, the more eyeballs there are for reporting, tracking and triaging issues, the better change there is for a quicker turnover. Any and all help is always greatly appreciated!

Viewing 15 replies - 136 through 150 (of 193 total)