Custom Menus

Post Reply
Masher
Site Admin
Posts: 3447
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Hearland
Contact:

Custom Menus

Post by Masher » Sat Jan 14, 2012 11:12 am

UGCC version 1.71 and newer
You can edit the menu.txt file (via the Settings-->Panel Customizations option).

UGCC version 1.47 through 1.702 support adding custom menu items. In the web panel root folder you should see a file named 'custom.menu!'. Rename this file file to 'custom.menu'. Open the file in a text editor. An example of the file is below. The first item is the name of the menu item, and all the other items are submenus of the first.

Changes to the custom menu will require you to restart the web service for changes to show as the file is read on startup and cached.

Syntax is

Code: Select all

Link Text,http://url.for.menu

Code: Select all

//This is the custom menu file, here you can create menu entries that will
//show in the panel's menu.  The first line is the text and url of the main
//menu item shown in the panel.  The following lines will be sub menu items
//of the first.  The syntax for each line is "label","url" ie:
//FAQ,http://www.brainless.us/faq
Brainless,http://www.brainless.us
Request Demo License,http://www.brainless.us/forum/viewforum.php?f=19
Brainless Forum,http://www.brainless.us/forum
Contact Brainless,http://www.brainless.us/contact.aspx
Masher
-----------
Please do not PM me unless asked to! We are a small company and if you have an issue or question it would be best to post it in the forums where it can help others in the future.

Need an affordable web control panel? Try UGCC.

Post Reply