Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2008
    Posts
    129
    Plugin Contributions
    0

    Default Remove Extras menu from my admin

    I want to change admin panel links & this is the only thread I can find on google.

    I will never need the "extras" dropdown & I want to remove it from the list--

    I'm trying to simplify things on the panel, so they are not as complex, by removing things I completely don't need (and will never need)

    I can't figure out where the base files are for this, so I can remove this part of my admin.

    Does someone know where the base files are for the admin dropdown lists?

  2. #2
    Join Date
    Aug 2008
    Posts
    129
    Plugin Contributions
    0

    Default Re: How do I change the Admin Panel Links

    // require(DIR_WS_BOXES . 'extras_dhtml.php');

    I commented out this line in header_navigation.php.

    Perhaps that's a bad idea, it makes the admin panel very, very sluggish...

  3. #3
    Join Date
    Aug 2008
    Posts
    129
    Plugin Contributions
    0

    Default Re: How do I change the Admin Panel Links

    Quote Originally Posted by dontknowwhatimdoing View Post
    // require(DIR_WS_BOXES . 'extras_dhtml.php');

    I commented out this line in header_navigation.php.

    Perhaps that's a bad idea, it makes the admin panel very, very sluggish...
    Ok--THAT was total fail.

    The solution that seems to be working:
    I simply commented out this line in extras_dhtml.php

    here's the file location:
    yourstore/admin/includes/boxes/extras_dhtml.php

    // require(DIR_WS_BOXES . 'extra_boxes/' . $zv_file);

    It's not slowing anything down now or making the admin panel sluggish & I have now removed something I don't need to see from my store.

    For now, mission accomplished.

  4. #4
    Join Date
    Aug 2008
    Posts
    129
    Plugin Contributions
    0

    Default Re: How do I change the Admin Panel Links

    header_navigation.php in the admin panel shows you what all the link categories are, which are stored in includes/boxes

    my quick dirty fix just involves commenting out a line in the below files that alters the array/ etc.

    Commenting out one of the lines below DIRECTLY ends up in making my site run very, very sluggish (I don't know enough about zen cart to know this reason for this).

    Code:
      require(DIR_WS_BOXES . 'configuration_dhtml.php');
      require(DIR_WS_BOXES . 'catalog_dhtml.php');
      require(DIR_WS_BOXES . 'modules_dhtml.php');
      require(DIR_WS_BOXES . 'customers_dhtml.php');
      require(DIR_WS_BOXES . 'taxes_dhtml.php');
      require(DIR_WS_BOXES . 'localization_dhtml.php');
      require(DIR_WS_BOXES . 'reports_dhtml.php');
      require(DIR_WS_BOXES . 'tools_dhtml.php');
      require(DIR_WS_BOXES . 'gv_admin_dhtml.php');
      require(DIR_WS_BOXES . 'extras_dhtml.php');
    If someone has a more sophisticted & effective way to alter admin panel dropdown / pull down / categories, please let me know!

 

 

Similar Threads

  1. Admin extras how to delete? Help?
    By phapn in forum Customization from the Admin
    Replies: 5
    Last Post: 27 Apr 2011, 12:38 PM
  2. Remove menu item from Admin Interface
    By artcoder in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 15 Aug 2008, 11:54 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •