Edit Flow
[resolved] Disabling Calendar Functionality?? (6 posts)

  1. twedigteam
    Posted 5 years ago #

    Hey all,

    Does anyone have a quick tip on how to disable the calendar function? So far the other Edit Flow functions are great, but we're finding that the calendar will change the "Last Update" time to 00:00 if a post is moved. Additionally, we do not need some roles viewing the calendar.

    Is it safe to just eliminate the following from the plugin editor:

    // Add sub-menu page for Calendar
    if ( $this->calendar_viewable() )
    add_submenu_page('index.php', __('Edit Flow Calendar', 'edit-flow'), __('Edit Flow Calendar', 'edit-flow'), 'edit_posts', $this->get_page('calendar'), array(&$this,'calendar'));

    This does eliminate the calendar sub-menu. Thanks in advance!!!

  2. twedigteam
    Posted 5 years ago #

    Disregard/found the feature. I was thinking way too deeply about this one! Thanks!

  3. Scott Bressler
    Plugin Author

    Posted 5 years ago #

    For future reference, in version 0.5.1 we added the ability to disable the calendar entirely in the Edit Flow settings. You can also filter the roles that can access the calendar by filtering 'ef_view_calendar_cap' in your theme's functions.php file.

    If you need help with this, feel free to ask and I'd be happy to whip up an example of filtering the roles.

  4. twedigteam
    Posted 5 years ago #

    Good to know! We'll consider testing it out with one or two roles at a time.

    Is there any word on an issue or bug where the published time stamp changes to 00:00 if a already published post is moved [dragged] in the calendar?

  5. Scott Bressler
    Plugin Author

    Posted 5 years ago #

    There are currently a few issues with the calendar, which we are refactoring in a coming release. Sorry for the current bugs, but we'll be sure to squash them soon!

  6. twedigteam
    Posted 5 years ago #

    Cool, thanks for the prompt response. We'll keep an eye out as we are just starting our project!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Edit Flow
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic