• I have been using WordPress for 3 years now.
    I developped my own plugins.
    Each time or so, i made an upgrade of WordPress, i had to review my plugin code about Admin menues.

    The most sofisticated plugin i made is managing events like comments. Under the Comments menu item i have two new options : Events, Moderate Events. Of course, on both options, i can edit a particular event.
    My plugin was working just fine till 2.2 (with little fixes).
    But now i do not find the solution.

    I found a bit frustrating that what you see under the admin panels cannot be ‘easily’ coded for your own needs.

    You guys developping the Admin should consider reviewing the different items of the Admin as if they were ALL add-ons of the Admin. Each major options (Write, Manage, Comments, …) would be coded with the same architecture.

    This would ease the developpement and maintenance for you and ‘sofisticated plugins’ developpers.

    Anyway thank you for the great work

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thanks for your recommendations. Right now the there is an initiative underway to revise the admin UI.

    Join the wp-hackers email list as there will likely be some discussion once that admin UI revision is released (that will be very soon).

    Resources:
    http://codex.wordpress.org/Mailing_Lists#Hackers
    http://trac.wordpress.org

    Thread Starter arena

    (@arena)

    Thanks MichaelH.

    I just joined the wp-hackers email list.

    Waiting for more information about reviewing the Admin architecture of code and why not all the access levels of the different options (you now, the level 1 to 9) which seems to be hard-coded.
    Can ‘t wait to contribute …

    Thread Starter arena

    (@arena)

    Well i am re opening this topic.

    I tried to modify wp-admin/menu.php…

    Was i surprised to see that some wp files in the admin have their submenu AND menu HARD CODED in those files …

    SO $menu and $submenu are not the only variables to manage Wp admin menues…

    Thread Starter arena

    (@arena)

    This is the kind of admin menu organisation i would like to have :
    http://flickr.com/photos/nogent94130/sets/72157603398271468/show/

    all pictures have some specs attached.

    I don’t know if this is the appropriate thread, but its the most active. I have some custom code that lives outside the wp-admin folder, and its linked to correctly in menu.php it spits out a page with a form on it. At the top of the page I use:
    <?php
    require_once( $_SERVER[‘DOCUMENT_ROOT’] . ‘/wp-admin/admin.php’);
    $title = __(‘Edit Inns’);
    $this_file = ‘inn.php’;
    $parent_file = ‘inn.php’;
    require_once( $_SERVER[‘DOCUMENT_ROOT’] . ‘/wp-admin/admin-header.php’);
    ?>
    to pull in the wordpress admin menu, but its not pulling in my plugin menu items (specifically cforms II) any suggestions?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Admin and Menu management’ is closed to new replies.