Zen Cart Logo
Forums / Contribution-Writing Guidelines / New Admin Menu Item

New Admin Menu Item

Views: 3,759

Results 1 to 7 of 7
12 Apr 2012, 7:31 PM
#1
l3ackdraft avatar

l3ackdraft

New Zenner

Join Date:
May 2005
Location:
Pennsylvania
Posts:
30
Plugin Contributions:
0

New Admin Menu Item

I want to create a new admin menu item with its own drop downs.

I am struggling to locate where to do this, I have added it in admin menu with the drop downs in admin pages, but it does not show up.

Help would be greatly appreciated.
Mike

12 Apr 2012, 10:56 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: New Admin Menu Item

If you are using v1.5.0, there is a new admin structure which requires such things to be "registered" before they can be used (for security).

Look at one of the mods in Free Addons which includes admin configuration items for a guide to how to do it. There are also threads in the forum with the information (admin page registration).
Admin Page Registration for 3rd Party Modules and similar threads.

15 Apr 2012, 9:00 PM
#3
l3ackdraft avatar

l3ackdraft

New Zenner

Join Date:
May 2005
Location:
Pennsylvania
Posts:
30
Plugin Contributions:
0

Re: New Admin Menu Item

Can you give an example of one of the mods that includes admin configurations

16 Apr 2012, 4:48 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: New Admin Menu Item

I don't know offhand which ones in Free Addons have up-to-date admin page registration; you could probably find one or more by reading the thread mentioned and its mates.
The Editable Home Page Centerboxes mod that I upgraded and modified for v1.5.0 has the required SQL. It is waiting for Diva to clean up the readme, and too large to attach to a forum post, but I can e-mail you a copy if you want.

16 Apr 2012, 5:09 PM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: New Admin Menu Item

Post 13 in [BETA] Admin Page Name Menu Override? has a good example of the configuration menu additions and page registration, even including cleaning out old versions from the db before adding the new.

16 Apr 2012, 5:15 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: New Admin Menu Item

l3ackdraft:

I want to create a new admin menu item with its own drop downs.Caution:
Keep in mind that people are already complaining that they feel there are too many top-level menu items ... so adding another one is likely to cause problems, including usability issues when the menu wraps to the next line.

17 Apr 2012, 2:33 AM
#7
l3ackdraft avatar

l3ackdraft

New Zenner

Join Date:
May 2005
Location:
Pennsylvania
Posts:
30
Plugin Contributions:
0

Re: New Admin Menu Item

Interesting.
I hadn't thought about the line wrapping. On my screen, I have plenty of room.