Menu Definition: Difference between revisions

From HAA Best Practices Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
and click on the "New" icon in the top right.
and click on the "New" icon in the top right.


The "Unique Name" field should be a single word and we recommend using lower case letters.
The "Title" is the title that Joomla will use when it displays your menu.
 
The "Menu Type" must be a single-word unique name of your chosing that identifies the menu.
 
The "Description" is a brief phrase that will appear in the back-end menu manager.
 
Once you have created and saved the new menu, you must add a module to handle the menu.  You
do this on the Joomla->Menu Manager page.  There, you will see your new menu and you need to click
on the "Add a module for this menu" link.  This brings up the Module Manager:Module Menu definition page.


The "Title" is the title that Joomla will use when it displays your menu.
In the Module Menu definition, enter a title; select the position as 'left'; set access to Public or Registered
depending on who you want to be able to see the menu;  you should also expand the "Advanced Options" on the right of
the page and enter "_menu" in the Module Class Suffix - no quotes.  This controls the formatting of the menu
items.  Finally click the "Save & Close" icon.
 
At this point your new menu exists but it will not be displayed until you add a menu item to it.


The "Module Title" is the name that you will see when you refer to the menu in the Joomla back end.
You will probably want to change the ordering of the menus.  You can do so from Joomla->Extensions->Module Manager
by clicking on your module and changing the "Ordering" field.


Once you have created the new menu, you still need to apply some configuration setting to it.  You do this in the module manager at Joomla->Extensions->Module Manager.  Click on the name of your menu in the module manager and set the following:


* Enable;
* Access level: Registered (assuming you only want registered users to see it);
* Under 'Advanced parameters' set the module class suffix to be '_menu' (no quotes).


Finally set the position of your new menu using the up/down green arrows in the Module Manager.


[[Basic Management How-To's|Return to the Basic Management How-To's page]]
[[Basic Management How-To's|Return to the Basic Management How-To's page]]

Latest revision as of 19:45, 21 May 2014

To create a new menu go to:

Joomla->Menus->Menu Manager

and click on the "New" icon in the top right.

The "Title" is the title that Joomla will use when it displays your menu.

The "Menu Type" must be a single-word unique name of your chosing that identifies the menu.

The "Description" is a brief phrase that will appear in the back-end menu manager.

Once you have created and saved the new menu, you must add a module to handle the menu. You do this on the Joomla->Menu Manager page. There, you will see your new menu and you need to click on the "Add a module for this menu" link. This brings up the Module Manager:Module Menu definition page.

In the Module Menu definition, enter a title; select the position as 'left'; set access to Public or Registered depending on who you want to be able to see the menu; you should also expand the "Advanced Options" on the right of the page and enter "_menu" in the Module Class Suffix - no quotes. This controls the formatting of the menu items. Finally click the "Save & Close" icon.

At this point your new menu exists but it will not be displayed until you add a menu item to it.

You will probably want to change the ordering of the menus. You can do so from Joomla->Extensions->Module Manager by clicking on your module and changing the "Ordering" field.



Return to the Basic Management How-To's page