Exercises
It’s time to apply the knowledge acquired in this chapter and start building our menus.
Exercise 1 – create a menu and a menu item
In your sample Joomla installation, go to Menu Manager and create a new menu called Sample menu
. You can set a personal description for the menu. Save and go back to the Menus view.
Now create a menu item of the Single Article type, selecting the article MyArticle
that we created in Exercise 2 of Chapter 2. The menu item should have MyArticle
for Title and an autogenerated Alias.
You can choose the options at your convenience, but ensure that the article’s title, category, and author are displayed on the page.
Exercise 2 – a category list
Let’s now create a new menu item in Sample menu
. The new menu item should have as its title MyList
, as its type Category List, and select the MyCategory
category that we created in Chapter 2. The result should be a page on which the list of articles belonging...