Modules in Joomla: Banners – Main Menu

The Main Menu module can be used to create your own menus and edit existing ones. You can also define the pages in which you want the specific menus to appear and the location in which you want the menus to appear on the desired web pages. When you select the Main Menu module from the Module Manager, it opens in edit mode, as shown in Figure 8-24.

In the Start Level and End Level fields, you specify the level of depth of the menus. The top level is numbered 1. For example, if you set the Start Level to 1 and the End Level to 2, all the top-level menus will be displayed, along with all the menus at level 2. However, menus at level 3 or deeper will not be displayed. As you might expect, the Start Level is the highest level of menu to be displayed; the default is 1 (top level). For this example, keep the default value here. The End Level is the lowest level in the menu hierarchy to be displayed; the default, All, will display all menu levels. Again, for this example, keep the default value here.

The Show Sub-menu Items option is used for deciding whether to display submenu items when the parent is not active. If No, a submenu item will be displayed only when the parent item is clicked. If Yes, submenu items will always be displayed in the menu.

The Position field is used to specify the location of the menu in pixels. If you don’t specify any position here, it is supplied by the template being used.

Note For precise positioning, you can even download the Modules Anywhere extension and use it to put a module anywhere on your That is, you can place a module inside an article or inside another module by using the Modules Anywhere extension.

You learned to work with menu items in Chapter 3 and later chapters. The main menu on the front side may appear as shown in Figure 8-25.

Source: Harwani B M (2015), Foundations of Joomla!, Apress; 2nd ed edition

Leave a Reply

Your email address will not be published. Required fields are marked *