This topic contains 7 reply and 2 voices, and was last updated by Tareq Hasan 6 years, 8 months ago
Viewing 7 Posts - 1 through 7 (of 7 total)
Author Posts
May 4, 2013 at 7:51 pm 3176
Tareq Hasan [Posted on - 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.
May 4, 2013 at 8:10 pm 3177
Tareq Hasan Tareq Hasan

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

May 4, 2013 at 10:46 pm 3179
mangoman mangoman

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

I even tried: 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.

May 5, 2013 at 8:48 pm 3193
Tareq Hasan Tareq Hasan

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

May 6, 2013 at 2:15 am 3207
mangoman mangoman

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?


May 6, 2013 at 8:10 am 3214
Tareq Hasan Tareq Hasan

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.

May 6, 2013 at 1:44 pm 3220
mangoman mangoman

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?

May 6, 2013 at 3:33 pm 3227
Tareq Hasan Tareq Hasan

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 7 Posts - 1 through 7 (of 7 total)