Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2012
    Posts
    209
    Plugin Contributions
    1

    Default How to add a new menu in admin not menu item a new menu

    [Note: remember to include site URL, ZC version, list of plugins, PHP version, etc ... read the Posting Tips shown above for information to include in your post here. And, remove this comment before actually posting!]

    zencart 139h

    need advice to add anew menu like reports , tools , extra etc.

    I am asking about adding menu not menu items

    Kindly advice

    thanks in advance

  2. #2
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: How to add a new menu in admin not menu item a new menu

    Since 1.5.x: You need to ad a new item to the table "admin_menus"
    see my example:
    Code:
    INSERT INTO `admin_menus` (`menu_key`, `language_key`, `sort_order`) VALUES('example', 'BOX_HEADING_EXAMPLE', '12')
    Also need to add a new language define in "your_admin/includes/languages/your_language/extra_definitions/your_file.php

  3. #3
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: How to add a new menu in admin not menu item a new menu

    Quote Originally Posted by diptimoy View Post

    zencart 139h

    need advice to add anew menu like reports , tools , extra etc.

    I am asking about adding menu not menu items

    Kindly advice

    thanks in advance
    For ZC 139h you would look at the folder YOUR_RENAME_ADMIN/includes/boxes . I would pick a simple one like extras_dhtml.php and copy and rename something like my_menu_dhtml.php Then start modifying it to your needs. Rename the defines like BOX_HEADING_EXTRAS and add the new defines to your main language folder YOUR_RENAME_ADMIN/includes/english/my_menu.php Finely if you create new patch to files, be sure to create a new file name patch file in YOUR_RENAME_ADMIN/includes/extra_datafiles/my_menu_filenames.php

    You more then likely heard this before, but I would consider upgrading to the more advance ZC 155f to make this whole process as simple as adding it to the admin menu data table. Once added, then its simply adding items to that menu. Theres even a mod to make this process even quicker, but not for ZC 139h.
    Dave
    Always forward thinking... Lost my mind!

  4. #4
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: How to add a new menu in admin not menu item a new menu

    Quote Originally Posted by davewest View Post
    Theres even a mod to make this process even quicker, but not for ZC 139h.
    Which mod is this? I'm interested in knowing and others may as well. :)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: How to add a new menu in admin not menu item a new menu

    Quote Originally Posted by mc12345678 View Post
    Which mod is this? I'm interested in knowing and others may as well. :)
    A quick search of plugins came up with Admin Page Keys for ZC 151 https://www.zen-cart.com/downloads.php?do=file&id=1653

    Not a ZC 139h fix.. I've not tried this one. I use my own modified page registration file that allows me to do allot more.
    Dave
    Always forward thinking... Lost my mind!

 

 

Similar Threads

  1. v139h How to add new menu item with submenu in sidebox with static link..
    By snk060 in forum General Questions
    Replies: 9
    Last Post: 25 Nov 2013, 02:47 PM
  2. v150 New Admin Menu Item
    By l3ackdraft in forum Contribution-Writing Guidelines
    Replies: 6
    Last Post: 17 Apr 2012, 03:33 AM
  3. v150 How to add new links in dropdown menu in Admin?
    By andrewnguyen in forum General Questions
    Replies: 1
    Last Post: 21 Feb 2012, 05:35 AM
  4. How to add a new menu in admin tools menu?
    By blingthemes in forum Customization from the Admin
    Replies: 2
    Last Post: 24 Oct 2010, 10:11 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR