Home Forums Plugin Support WP Project Manager – Free Admin menu order (Plugin missing in backend)

This topic is: not resolved

This topic contains 7 replies, has 2 voices, and was last updated by  Tareq Hasan 5 years, 9 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #3176

    mangoman
    Participant
    Post count: 5

    [Posted on wordpress.org – didn't know that this forum existed!]

    After upgrade, the plugin fails to load/display in the backend Dashboard admin menu….and I cannot locate where to edit the menu order. I even tried the Admin Menu Editor plugin, but this plugin didn't show up as activated (but it has been).

    I edited the admin.php file and changed the value from 50 to 7 – but that didn't work, so I give up.

    I'm assuming that the admin menu position [of WP Project Manager] conflicts with another plugin. Please point me toward the correct file, change its value, and see it again. ๐Ÿ˜‰

    Thanks.

    #3177

    Tareq Hasan
    Keymaster
    Post count: 2831

    Checkout the cpm.php line 189, change the number.

    #3179

    mangoman
    Participant
    Post count: 5

    Thanks, Tariq. That worked….but now the sub-page link appears to be broken:

    http://chulobeats.com/wp-admin/cpm_settings results in a 404

    I even tried:
    http://chulobeats.com/wp-admin/admin.php?page=cpm_settings and got an Internal Server Error.

    The only item I changed was the item number, so perhaps it is/isn't related – not sure….

    Let me know.

    #3193

    Tareq Hasan
    Keymaster
    Post count: 2831

    The only change was needed in cpm.php line 189. The settings page should be affected. The later link is the correct one.

    #3207

    mangoman
    Participant
    Post count: 5

    Yes, but perhaps this is a bug? I can grant you access if desired so that you can check code.

    That Settings link [still] leads to a 404 – in what file can I verify that link?

    Thanks!

    #3214

    Tareq Hasan
    Keymaster
    Post count: 2831

    I don't think it's a bug. Nobody complained about it, only problem arises when some other menu already takes the place. Changing the number fixes the problem.

    #3220

    mangoman
    Participant
    Post count: 5

    Should I open a different thread?

    Yes, my issue is not with the menu item; that is resolved & functioning.

    The Settings URL, however, is broken. In which file can I verify that it is correct?

    #3227

    Tareq Hasan
    Keymaster
    Post count: 2831

    It's the class/admin.php, it should be this:
    [php]add_submenu_page( ‘cpm_projects', __( ‘Settings', ‘cpm' ), __( ‘Settings', ‘cpm' ), ‘manage_options', ‘cpm_settings', array($this, ‘settings_page') );[/php]

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Admin menu order (Plugin missing in backend)’ is closed to new replies.