If this is your first visit, check our documentation. To post, register or login.
Forums / Contribution-Writing Guidelines / Admin menu problem

Admin menu problem

Locked

Started by fe1lho on 7 Sep 2010, 3:08 PM · Views: 2,276

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
7 Sep 2010, 3:08 PM
#1
fe1lho avatar

fe1lho

New Zenner

Join Date:
Apr 2010
Posts:
74
Plugin Contributions:
0

Admin menu problem

Hi guys,

I've writen a first module for the Admin part to get some reports.
BUT, I've set the entry menu into the file into the folder admin/includes/boxes/extra_boxes/myContrib_dhtml.php
and define into BOX_TOOLS_MYCONTRIB
So the entry came into the TOOLS of the admin.
Now, I'd like to have it into the REPORTS menu entry.
If I change the BOX_TOOLS to BOX_REPORTS, the entry do not change.

Is there some query to set to remove my dynamice entry, or update it ?

Thanks for your help.
Pascal

7 Sep 2010, 3:31 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Admin menu problem

Download the MySQL Database Backup addon, and look at the filenames in the extra_boxes folder, and their contents.
Then download the Admin Activity Report addon, and look at the filenames in the extra_boxes folder (note the way the file is named), and the file contents.

You'll see the pattern, which you then need to follow for yourself. It has nothing to do with the BOX_TOOLS define. It's all driven by the correct content in the correctly-named files.

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

7 Sep 2010, 4:41 PM
#3
fe1lho avatar

fe1lho

New Zenner

Join Date:
Apr 2010
Posts:
74
Plugin Contributions:
0

Re: Admin menu problem

Great that's what exactly I was looking for.
Just need to rename the file with the REPORTS

Thanks for all.
Pascal