Categories, articles, and menus.
So, we've done our categories, we've done our articles; time for menus.
What we're going to do is we're going to have three menus for this Web site, with
the fourth being the footer menu.
What I will have is one menu, which will be the current main menu, will become a
menu with a single link on it; it'll be the homepage link, and that link will
be assigned a language of all.
Then I'm going to have an English menu, and that will contain all of the links
that are currently on the Web site.
And I'm going to make an Italian menu, and that will have all of the
Italian links on it.
In this video, I'm just going to make the English menu, and move the existing
links over to that English menu. I'll show you how that works.
So here under Menus, I'm going to start by going to my Menu Manager, and say Add New Menu.
And the menu I'm going to create is called English menu, and the Menu type will
be englishmenu, all one word,
and I'm going to say Save & Close.
So that created the English menu for me, and just as we've done before, I'm going
to go ahead and add a new module for this menu type.
This is a little bit tricky, because I have a lot of settings that I have to
remember for this particular menu. So my title will be English menu,
and I'm not going to show that title. I want the position to be in the Protostar
template, and I want it to be in Navigation.
The language for this menu will be English, so I'm going to set that down
here at the bottom.
Remember that we also had some additional settings for this particular menu.
Under Basic Options, we want it to show the sub-menu items; that'll make sure that
the dropdowns work in all locations across the menu. And under Advanced Options,
we had a Menu Class Suffix of space, nav-pills; that'll give us the formatting
that will make the navigation bar go horizontally, and give us those little blue
pills that occur behind various menu items.
Okay, go ahead and say Save & Close.
So we now have two modules here, and one of these has content in it, that's the
main menu, and one of them has no content at all; the English menu.
If we look at the front-end of the Web site, and hit refresh, we see absolutely no change.
And the reason why is, one menu has content, and one menu does not.
Okay, so the next thing I'm going to do is go back to Menus, and I'm going to
go back to Main Menu.
Now here on my page are all of the menus links that I have here on the Web site.
What I need to do, first of all, is I need to assign most of these a language
of English, so I'm going to go ahead and check off this box, uncheck Home,
home will remain as the language of all, this is the big default page for the whole Web site,
and all of the other items here in the list should be checked. And we're going
to do that batch process again, and we'll set the language to English, and say Process.
Okay, so now that these are all set, I'm going to go ahead and move them, so what
I'm going to do, once again, is check all of these off, uncheck Home, and I'm going
to click the Batch button, and I'm going to say we're going to move these to the
English menu, and add to this menu, and I'm going to say Process.
What I'll have left behind on the main menu is just one menu item; that's the
homepage. And actually, I want the same homepage over on the English menu, so
with this particular item, I'm going to copy that over, so I'm going to put a
checkmark by this, and I am going to click my Batch button, and I'm going to pick
English menu from the list here, and then make sure I choose to the Copy button, and say Process.
So this menu item is still available here for me on the main menu,
but now when I go to the English menu, I'll see all of my items here.
And once again, those items have been moved over, but unfortunately they have
been pulled out of there previous structure and nesting.
So what I'm going to do here is I'm going to grab my home menu item, I'm going
to drag it on up to the top of the list here, or as close to the top as I can get,
then I'll scroll up, and then I'll drag it some more. There we go.
So as you see here on the English menu now, I've got my Home page here at the top.
The Language for this item is still to All, so what I'm going to do is I'm going
to edit this by going into my Home item, and first of all, I'm going to switch the
Language from All to English.
And I'm also going to fix my Menu Title, which is set to Home, I'm just going to
make that regular old Home,
and I'm going to get rid of that Alias as well; the alias will be filled in
automatically by Joomla.
And I'm also going to set this as the default page for the English menu, so this
will become the English homepage, and the way that I do that is, right here in
this particular screen under default page, I'm going to set this to Yes, and then
I'm going to say Save & Close.
What will happen now is, you see the little British flag right here; this
indicates that this is the homepage for the English menu, as opposed to the main
menu, where we have the yellow star. This is the homepage for the entire Web site,
whereas the English menu contains the homepage for the English side of the Web site.
You can tell here from the dropdown that we have default pages assigned.
The little home button here under Main Menu indicates that this menu contains
the homepage for the entire Web site, and the British flag here indicates that
this contains the homepage for the English side of the Web site.
So, the last thing I need to do is I need to go back to my English menu, and reorder it.
So I'm going to click on that, and when we moved all of these items over from
main menu, the way that these were organized changed, so what I need to do now is
I need to click on each one of these, like Executives;
I need to change the parent item from the Menu Item Root to the About page.
And say Save & Close, and I'll repeat this for Company Structure, change the Menu
Item Root back to About.
So I'm going to go through, and I'm going to finish this up here offline for
the rest of the site. You know how the site was arranged before, so I'm just
going to go through, and set up the sub-navigation, so that that is functioning correctly here.
And in the next video, we have to address the modules, and the way these menus are
displaying, so that's what we're going to cover in the next video.