Professional Documents
Culture Documents
In the contacts category editor you will have to create a title for the contact category, and then
optionally an alias. (Figure 4)
While it isn't required, you might want to go ahead and put in a description of the contact
category you've created. (Figure 5)
Once you reach the menu manager for the main menu, on the right there are several icons,
click new to create a new menu. (Figure 12)
On the next screen you need to choose why type of menu to create.
Select the Contacts type. (Figure 13)
The next screen shows the two different types of contact menu items
you can create. For the purpose of a 'business directory',
you should should select the contact category layout type.
(Figure 14)
There is one last step before you can save the menu item and return to the menu manager,
and that is to select the category of contacts you want this menu item to be driven to. This is
done through the parameter tab on the
right. Select the same category that we
created and entered a contact item into.
(Figure 16)
The final step will be to save the menu item. (Figure 17)
This method of using the Joomla! Contact Component gives Joomla! 1.5 a nice 'business
directory' like function. A nice addition to any business directory is showing all the 'categories'
in once place, so that people can see them all. So, keep reading if you'd like to find out how to
do this little extra 'trick' to spice up your Joomla! directory.
Page 5
Additional Trick: Create An Article Displaying All Your Contact Categories
What you will be doing here is creating an article with text that simply links to the menu items
you created earlier. In my demonstration I simply display text in an unordered list. (Figure 18)
Once you have created an unordered list that displays a nice directory tree, you will have to
go to the front end of your Joomla! site and copy the URL from each Contact Category Layout
menu item. (Figure 19)
The “plumbing” of the directory is now complete. Now, when you click the menu item that
goes to the directory tree article, it will display all the contact categories. There is one last
thing that you can do that will make your business directory look and work even better. That
is, to set all the menu items that go directly to the contact category as “child” items to the
menu item to the article menu.
Now that you've selected a “parent item”, you can save the
menu item. (Figure 29)