JOOMLA LIBRO 2

Page 82

7 Taking it to the next stage Sub menus Beneath each menu item you can create one or more levels of sub-menu. For example, on a larger site you might wish to have Products as a top level menu item and beneath that have individual menu items for different product ranges. Let’s add a Visitor Section on our Zoo site and show how to create sub-menu items beneath it. First we create a new category called Visitors (see Chapter X) Next we add some Visitor Pages (General Visitor Page, Admission Prices, Opening Times and How to find us) in the new Visitor category. (Note, you can link any type of content or component to a submenu link as shown in Table 7.3, page links are used here for simplicity) Then we create the Visitors Menu Link 1. Go to: Menu > mainmenu 2. Click the New Button in the button bar 3. Select Link - Content Item 4. Enter Name: ’Visitors’ 5. Select ’Website Content - Visitors/General Visitor Page’ 6. Leave all other items unchanged at this point 7. Click the large Save button 8. Now we can enter submenu items 9. Go to: Menu > mainmenu 10. Click the New Button in the button bar 11. Select Link - Content Item 12. Enter Name: ’Admission Prices’ 13. Select ’Website Content - Visitors/Admission Prices’ 14. In the Parent Item list, select Visitors. This is how you set this menu link to be a sub-menu and tell Joomla! that you wish it to appear under the Visitors main menu link 15. Leave all other items unchanged at this point 16. Click the large Save button 17. Repeat steps 9-16 to add two more submenu links for Opening Hours and 18. You have now successfully created a menu item with 3 sub menu links beneath it.

81


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.