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?
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...
Re: How do I change the Admin Panel Links
Quote:
Originally Posted by
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.
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!