Forums / General Questions / Remove Extras menu from my admin

Remove Extras menu from my admin

Locked

Started by dontknowwhatimdoing on 12 Aug 2008, 9:20 PM · Views: 4,223

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
12 Aug 2008, 9:20 PM
#1
dontknowwhatimdoing avatar

dontknowwhatimdoing

Zen Follower

Join Date:
Aug 2008
Posts:
131
Plugin Contributions:
0

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?

12 Aug 2008, 9:41 PM
#2
dontknowwhatimdoing avatar

dontknowwhatimdoing

Zen Follower

Join Date:
Aug 2008
Posts:
131
Plugin Contributions:
0

Re: Remove Extras menu from my admin

// 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...

12 Aug 2008, 9:48 PM
#3
dontknowwhatimdoing avatar

dontknowwhatimdoing

Zen Follower

Join Date:
Aug 2008
Posts:
131
Plugin Contributions:
0

Re: Remove Extras menu from my admin

dontknowwhatimdoing:

// 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.

12 Aug 2008, 9:59 PM
#4
dontknowwhatimdoing avatar

dontknowwhatimdoing

Zen Follower

Join Date:
Aug 2008
Posts:
131
Plugin Contributions:
0

Re: Remove Extras menu from my admin

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).

  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!