Jump to content

Adding new menu items


Recommended Posts

Hi All.

I've have a couple of pages that I want to add to the main menu. These have been created .php and .tpl files and I can access them directly from a browser.

However, I can't find anything that fully describes how to add them to the menu.

I have found some info about hooks but nothing about where to put the hook code.

Any help would be much appreciated.

Regards,

Steve

Link to comment
Share on other sites

You can put the hook code in a .php file directly inside your /includes/hooks directory.

Choose a filename that is simple to remember or understand so that you can easily identify it in the future.

example file location:

/whmcs/includes/hooks/addmenuitems.php 

Hooks are a simple and reliable way to modify the menus.

Edited by RadWebHosting
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated