WordPress.org

Ready to get started?Download WordPress

Forums

Availability Calendar
Admin does not have the necessary permissions (3 posts)

  1. Friiitz
    Member
    Posted 1 year ago #

    I'm building a site for a client and they want to manage availability where their custom posts are not clicking too much around in the backend... So I changed the position of the "manage" menu to a custom post type in the plugin's index.php.

    `add_submenu_page(
    'edit.php?post_type=mycustomposttype',
    'Manage ' . $this->name,
    $this->name,
    'edit_pages',
    $this->tag,
    array( &$this, 'manage' )
    );

    When I want to select another calendar than the default one from the dropdown of the Manage panel I get an error sayng that I don't have the correct permissions to do that.

    In normal configuration (manage panel under "pages" menu) it works all fine, though. Can anyone help with what I also have to change to get this working?

    http://wordpress.org/extend/plugins/availability/

  2. Steve
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    There is a hidden input in the form used on manage.php called "post_type".

    If you change this from "page" to "mycustomposttype" this issue should be resolved.

    - Steve

  3. crazychameleon
    Member
    Posted 1 year ago #

    having a similar issue
    I cannot load the next year in the admin
    2013 show up fine...when I go to view 2014 and beyond i get "Cannot load availability." screen...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic