Forums / Customization from the Admin / Extras Admin Menu Item - can I remove or add to it?

Extras Admin Menu Item - can I remove or add to it?

Views: 13,712

Results 1 to 15 of 15
26 Apr 2011, 8:52 PM
#1
dkmojo avatar

dkmojo

New Zenner

Join Date:
Apr 2011
Posts:
28
Plugin Contributions:
0

Extras Admin Menu Item - can I remove or add to it?

Hi All,
I've been looking around and searching the forums for extras, admin menu extras etc but cannot find an answer to my question.

I would like to remove the options in the Extras menu item ( i.e Music Genres, etc ) as my client has no real need of them. I'm not really sure what they are for really. Looked through the wiki for Admin Menu Items but it didn't really explain very well the uses of the Extras.

Thanx in advance,
dkmojo

26 Apr 2011, 11:20 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Extras Admin Menu Item - can I remove or add to it?

In Zen Cart v1.3.x ...

If you peek in the:
/your_secret_admin/includes/boxes

you will see several files that end in:
_dhtml.php

The Extra menu is:
extras_dhtml.php

you can add on to it by making your own files such as:
/your_secret_admin/includes/boxes/extra_boxes/product_music_extras_dhtml.php

you could add:
/your_secret_admin/includes/boxes/extra_boxes/fred_extras_dhtml.php

and that would also add on to the Extra menu ...

Or to add:
/your_secret_admin/includes/boxes/extra_boxes/backup_mysql_tools_dhtml.php

would add on to the Tools menu ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

27 Apr 2011, 1:44 AM
#3
dkmojo avatar

dkmojo

New Zenner

Join Date:
Apr 2011
Posts:
28
Plugin Contributions:
0

Re: Extras Admin Menu Item - can I remove or add to it?

Awesome! Thanx, I'll be working on that now as well.

27 Apr 2011, 2:31 PM
#4
llynix avatar

llynix

Zen Follower

Join Date:
Jul 2009
Location:
Texas
Posts:
210
Plugin Contributions:
0

Re: Extras Admin Menu Item - can I remove or add to it?

You might also look into the module Admin Profiles. It allows you to set up accounts with menus hidden.

I greatly simplified my clients user accounts with this.

DentalPlanet Designed/Administrated by Falls Geek

27 Apr 2011, 2:37 PM
#5
dkmojo avatar

dkmojo

New Zenner

Join Date:
Apr 2011
Posts:
28
Plugin Contributions:
0

Re: Extras Admin Menu Item - can I remove or add to it?

Thanx! I'll look into this add-on as well.

20 Jun 2012, 5:42 AM
#6
satheeshtk avatar

satheeshtk

New Zenner

Join Date:
May 2012
Posts:
1
Plugin Contributions:
0

Re: Extras Admin Menu Item - can I remove or add to it?

hi i didnt get the additional menu items in Extras which was added by me in zen cart version1.5.0. but it is displaying in v1.3.8..

plz help me.

Thank you

10 Aug 2012, 2:55 AM
#7
amadorgold avatar

amadorgold

New Zenner

Join Date:
Aug 2012
Posts:
8
Plugin Contributions:
0

Re: Extras Admin Menu Item - can I remove or add to it?

I am running v1.5 and not finding any _dhtml.php files to edit or add to the admin control panel menu? I have installed the Gift Card Module which works great except that the link to administer it is not showing up under tools. I want to be able to manually add this under tools or even somewhere on the Admin control panel navigation part.

Can this be done?

10 Aug 2012, 3:12 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Extras Admin Menu Item - can I remove or add to it?

In v1.5.0 and newer, you must manage the menu choices by assigning available options to specific user profiles, using the Admin Access Management menu.

And addons which don't understand the new menu system must be updated to register their pages into the menu before you can assign access permissions to those pages. This is described in various forum posts in the upgrading section.

327-Adding-a-menu-item-to-the-admin

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

18 Aug 2012, 12:31 AM
#9
i_make_robots avatar

i_make_robots

New Zenner

Join Date:
Aug 2012
Posts:
46
Plugin Contributions:
0

Re: Extras Admin Menu Item - can I remove or add to it?

DrByte:

In v1.5.0 and newer, you must manage the menu choices by assigning available options to specific user profiles, using the Admin Access Management menu.

And addons which don't understand the new menu system must be updated to register their pages into the menu before you can assign access permissions to those pages. This is described in various forum posts in the upgrading section.

Can you provide a specific link? I'm trying to solve this exact problem and getting nowhere. I added the files to extra_boxes but they haven't appeared in the menus. I don't get how they have to register themselves.

Thank you!

18 Jul 2013, 6:01 PM
#10
mcpisik avatar

mcpisik

Zen Follower

Join Date:
Jan 2007
Location:
Mount Maunganui, New Zealand
Posts:
417
Plugin Contributions:
0

Re: Extras Admin Menu Item - can I remove or add to it?

Is it easy to add an often used internet link to the admin menu?
I can go through the how to of adding the actual menu, but not sure what to do for just adding a link?

18 Jul 2013, 10:37 PM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Extras Admin Menu Item - can I remove or add to it?

To force an "available to every administrator" link onto the top right of the upper admin menu bar, edit the /admin/includes/header.php file and stuff your link into the group at the bottom of the file:```
<a href="' . zen_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_TOP . '</a> | 
<a href="' . zen_catalog_href_link() . '" class="headerLink" target="_blank">' . HEADER_TITLE_ONLINE_CATALOG . '</a> | 
<a href="http://www.zen-cart.com/" class="headerLink" target="_blank">' . HEADER_TITLE_SUPPORT_SITE . '</a> | 
<a href="' . zen_href_link(FILENAME_SERVER_INFO) . '" class="headerLink">' . HEADER_TITLE_VERSION . '</a> | 
<a href="' . zen_href_link(FILENAME_ADMIN_ACCOUNT) . '" class="headerLink">' . HEADER_TITLE_ACCOUNT . '</a> | 
<a href="' . zen_href_link(FILENAME_LOGOFF, '', 'SSL') . '" class="headerLink">' . HEADER_TITLE_LOGOFF . '</a> '; ?>


**DO NOT USE THIS APPROACH TO ADD PLUGINS TO THE MENU!!!!!!!!!**

REMINDER:
**DO NOT USE THIS APPROACH TO ADD PLUGINS TO THE MENU!!!!!!!!!**

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

19 Jul 2013, 8:14 PM
#12
mcpisik avatar

mcpisik

Zen Follower

Join Date:
Jan 2007
Location:
Mount Maunganui, New Zealand
Posts:
417
Plugin Contributions:
0

Re: Extras Admin Menu Item - can I remove or add to it?

I'm very happy I asked. That worked a treat thanks and is going to be extremely useful.
Thanks for all the help on both of my questions yesterday.

(for other standard users like myself, also add some defines in admin/includes/languages/english.php)

26 May 2018, 7:22 PM
#13
saxtuplet avatar

saxtuplet

New Zenner

Join Date:
May 2010
Posts:
8
Plugin Contributions:
0

Re: Extras Admin Menu Item - can I remove or add to it?

I also need to add something to the admin menu and previous posts mention the boxes folder in includes, but it is not there anymore in ver. 1.5.5. Does anyone know how to address this now?

26 May 2018, 7:59 PM
#14
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,109
Plugin Contributions:
56

Re: Extras Admin Menu Item - can I remove or add to it?

This FAQ article might help: 327-Adding-a-menu-item-to-the-admin

26 May 2018, 10:47 PM
#15
saxtuplet avatar

saxtuplet

New Zenner

Join Date:
May 2010
Posts:
8
Plugin Contributions:
0

Re: Extras Admin Menu Item - can I remove or add to it?

That worked, and I found I was able to remove things from the menu by editing the admin_pages table in the database.