Home Classroom Joomla Creating a website using Joomla – Part 9

Creating a website using Joomla – Part 9

1003

Setting up your Joomla website Menus

One of the first things you do after your Joomla installation is to configure your menus. Joomla menus are fairly straight forward to configure. Here we’ll give a small rundown of how Joomla menus work

Joomla Native Menus

Joomla comes along with a number of menus (when you install the sample data) to get you started (Top menu, Main menu, User menu). Each menu is basically is made up a list of menu items, (each with their own unique parameters), and a module which is used to display the contents of this menu. It is important to understand this relationship between each menu and its corresponding module; the module is where the menu “lives” and is used to display the menu in the template position where you want it to be displayed.

The menu modules are then assigned to template positions e.g. the top menu to the top position of your template, and the Main and User menu to the left position of your template as can be seen in the image below.

Obviously, one can apply the menu modules to whatever position is required and whatever position your template supports.
The Menu Manager (Menus > Menu Manager) is the where one can create any additional menus required. When creating a new menu, the Title name will be used as the name of the main menu module which will be used to display the menu.

Menu items

Once a new menu item has been created, you can edit the menu items in the menu. This is done by going to Menus menu and selecting the menu item .e.g Menus > Main Menu.

Here you can add / edit / delete / publish / unpublish menu items to this particular menu. Menu items can be created to articles, to the front page, to any new components, to search etc. The different kinds of menu items will not be described here.

Parent / Child menu items

Typically one would want to create a hierarchy in the menu. You can do this by creating items as children of other menu items. This is done by choosing a Parent, when creating the new menu item.

Displaying the menu

Once our module has been defined with the menu items, we now choose the position where we want to display it. To do this, we need to refer to the previous section where we explained the relationship between a menu and its module. As we explained earlier, each menu has a corresponding module which is used to display it. Therefore, we now need to go to the Modules, and set the parameters for the current menu module.
Thus go to Extensions > Module Manager. To find only the menu modules, you can select type to mod_mainmenu. This will only display the menu modules. You can now click on the menu name. e.g Main Menu and set the parameters of the module, including the position in the template where you want the menu to be displayed. You’ll have the standard module parameters on the left, such as whether to display the title of the module, whether it is enabled, and which position / order. On the right you have parameters which are specific to the menu, i.e. what style to use for the menu and a number of parameters which are specific to the current menu module. Explaining each parameter is beyond the scope of this article.
So that was a very brief intro to Joomla Native menus. If you find any of this unclear, we’d love to hear from you. We highly appreciate your valuable comments after reading this article. Also, if you have any issues in joomla you could email to harsha@vishmitha.com or Supporting Forum to get our assist.
The next article will discuss about SEO in Joomla.

Comments

comments

Harsha Gomes is the Managing Director of Vishmitha.com and Winhost Inc. He is a past employee of CINTEC, Ministry of Economic Reforms&Science&Technology, Pathfinder Holdings (Pvt) Ltd, and Sannasa Media (Pvt) Ltd. He has experience in PHP,AJAX, Flex, HTML,CSS, Javascript, MySQL, Joomla, Payment Integration, Smarty, PHPBB, Magento, OS Commerce. He is an expert in developing websites using the CMS tool Joomla.

NO COMMENTS

Leave a Reply