Changing Your Navigation Menu
The navigation menu that works with the most recent versions of the TMS templates uses a simple unordered list to structure the navigation of the site. This navigation menu is created and updated from a single 'nav.html' file, which makes the maintenance of the navigation file simpler and provides more flexibility for adding future pages.
Navigation File
The file used for creating the navigation menu is the nav.html file which can be found in your site's includes/ folder. The nav.html file contains an unordered list (bulleted list) showing the menu items. Sub-menus are entered as indented list items.
In TMS, the contents of an includes/nav.html file will look like:
Using the example above, the navigation that will appear on the home page of the site will display only the top level navigation, showing:
Site Home Staff Research Teaching
If Staff is selected from this list, the navigation will then display the staff sub-menus, as follows:
Site Home Staff Academic Staff Admin & Support Staff Research Teaching
Similarly, selecting Research from the navigation and then Publications from the sub-menu list will look as follows:
Site Home
Staff
Research
Publications
Current Publications
Archived Publications
Seminars
Teaching
Adding New Menu Items
Inserting a new section on the navigation menu is as simple as typing in the text on a bulleted list, much as you do in Microsoft Word.
This new text will now need to link to a new page that will hold the relevant content. To create a new page, please read the creating new pages section of the Web Guide.
