Beginner's Guide
Figure 7: Select template position
SECOND EXAMPLE: LINKING TO CATEGORIES (NEWS MAGAZINE)
It is possible to link to a few pages like in the first example but what will you do if you have thousands
of articles? The answer is easy in Joomla 1.7:
Build a structure with categories, assign the articles and link it to a category layout.
Preparations
We'll need a few categories with articles:
Categories:
•
News
•
World
•
Africa
•
Europe
•
Technology
•
Internet
•
Cars
Create them or use existing categories (Read more: Structure Your Content with Categories).
Step 1: The menu
It's up to you how to continue. The easiest way is to use the existing Primary Links menu. But if you
want, you can create a News Menu, like me.
Step 2: The menu items
When dealing with categories you have to think about what should be shown after you have clicked on
the link. The expected behavior in our case is
•
Category News = all news should come up
Joomla! 2.5 - Beginner’s Guide
Monday, 30 January 2012! Page 132