How to Properly Link Articles Using Joomla
Alright, let's just remind ourselves with the cash workflow that we introduced a few videos ago. The first one is categories. We've set up our categories, we renamed uncategorised to general and then, as you can see, we have three published articles in each category. If I click on the article manager now, I can see all of the articles that we've created. If I want to filter by category, I can do so quite easily and just see any of the articles by category. Alright, we're ready for the last step in the cash workflow and that's show. Now, just as an aside here, there's many ways to do what we've just done. We've done all the planning for you so we did all the categories at once, then all the articles and now we're going to do all the menus at once. But that's just one way to do it. You could do the cash workflow for each article if you wanted. I prefer this method, especially if all my content is ready to go. Alright, the cash workflow, then. The last step is show. Go ahead and click on menus and click on manage. This is the menu management area. We have one menu called the main menu. It has one published menu item and that's the home menu. If you click on that so we only really have one menu item and, of course, here it is. Over here, in our main menu, go ahead and click back on menus and click new. We're going to call this the about Joomla Ville menu and we'll just call it about for the menu type. Click Save and close. So now we have two menus: the main menu and about joomla ville. Just as a reminder this is what we're looking for today. We're going to create a number of menus, down the left-hand side, for each of the categories that we've created. Now, I'm going to twist this just a little bit because these are each single categories, and I'll demonstrate that in just a moment, but we're going to have different menus for different sections of our site. Alright, click on about Joomla Ville and this brings us into the menu items section that has obviously no menus yet. Go ahead and click new and let's call this joomla ville history, to match our article. Go ahead and click on menu item type. This is a fantastic place to just stop for a minute and learn about the joomla menu system. The joomla menu system doesn't have to exactly match your categories, but a lot of people do it that way. You can have menus for articles, configuration manager, contacts, news feeds, search, system links and tags and we'll do a few of these as we go. For now, click on single article and now select the article and you'll notice there's four things that are required here: the title, the type, the article and the menu. Go ahead and click select on article and so this is the Joomla Ville history menu item. Go ahead and click on Joomla ville history, click Save and new. Do all three at the same time. Let's do Joomla ville location. Click on select articles, single article and then select the article called joomla ville location. Click Save and new. Now Joomla ville overview. Click select article, single article and, you guessed it, click select and choose the overview article. Click Save and close. Now, under the about Joomla Ville menu, we have our three Joomla filled articles. Now we can rearrange these if we want, as well. Let's click and drag overview to above history and location. So the last step here is to actually place the menu somewhere on our site. If we go over to our home page and hit refresh, none of those menus are showing up yet. That's okay, we have to place them in what's called a module position. Just a quick bit of layout and design here, the template manages where all of these things go and these regions are called module positions. This is a module position that's containing the main menu module that displays the main menu. So that's what we need to do. So, back over on our site, go to extensions, modules and click new. Again, a module is a piece of code that places something in a module position or a region. Go ahead and scroll down and click on menu, because we're creating a menu module, and this is about Joomla ville. That title will show up at the top. The menu is selected already for us: about joomla ville. The only other thing we need to worry about is the position it's in. For now, go ahead and just put it in the right middle position, please, and we'll talk more about that later. Click Save and close. Head over to your homepage and hit refresh and now about Joomla Ville is over here on the left hand side and here are the links to my articles. Congratulations, you've just finished the cash workflow. In the next video, we'll add the rest of links and finish this section up.
Tags: Joomla 3