| home bookshelf slides |
| Joomla : Site Content Adding a Menu Entry for a List |
Page 1In our last tutorial we added an entry in the News section. We now want to add a menu entry in a main menu called News, pointing to a list of all of our news items. First, let's return to the Content Items Manager and add another news item so that our list won't just have one item. Here you can see that one more item has been added. Page 2Now we'll add a menu item to the main menu that will display a list of our news items when clicked. Click on Menu Manager in the Control Panel. Page 3
Page 4That brings us to the Menu Manager for the mainmenu. We'll click New. Page 5We'll click:
Page 6
Page 7The "News" entry now appears in the left menu. Clicking on the News item shows a page where the news items are listed. The items are listed according to the parameters we set (no icons for Adobe and email, no author, show create date, one column, etc). Page 8One more thing to do - a review item if you've already read the tutorial for editing the template CSS file. That "News" header on the page isn't sufficiently distinct from the first item header. Let's change the style for that. Here we've selected the "News" header and viewed selection source using Firefox, as is covered in the tutorials on editing the template CSS file. We can see that the style "class" is "componentheading". Page 9On the other hand, when we highlight the "JSL Japanese websites" title, we can see that the class for that is "contentheading". Let's see if we can adjust the CSS file and make those two styles distinct. Page 10Here we've downloaded the template_css.css file using FileZilla, as covered in a previous tutorial. You can see from the highlighted section that .contentheading and .componentheading have the same style. Page 11Here we've split the shared style class into two, duplicating the shared class and then removing one name from each. We've changed the color of the contentheading to black, and added a bottom margin. Page 12After uploading our changed css file and reloading our News page, the page heading stands out more clearly. |