UCR

Content Management System



Editing Site Navigation


Editing the Left Navigation Bar

The left navigation bar on sites in the CMS (or "left-nav") is controlled by a text. This file, labeled "menu.txt", controls the navigation for the entire site and resides in the site's root folder.

To edit the left navigation:

  1. Browse to the file named menu.txt in the Content Manager.
  2. Add, delete, or change items according to the guidelines below:
    • Primary menu items are denoted in the menu.txt file by typing out the title of the page (this is the header of the page), followed by a vertical bar ("|"). Primary menu items may include the optional subtext, which will appear under the title in the final menu, which are followed by another vertical bar. Finally, primary menu items must include the filename of the HTML content page (this is case sensitive).
      Example:
      Undergraduate Programs|/ugradprograms.html|Building Your Foundation
      +The Geology Major|/geomajor.html
      +The Geophysics Major|/geophys.html
      +Undergraduate Applications|/ugapply.html
      +Undergraduate Advising|/ugadvising.html
      The page title is highlighted in red, the address in blue, and the optional subtext in green in the example above.
    • Secondary menu items are created in virtually the same way, except for 2 major differences. For secondary menu items, the first character must be a "+" sign, followed by the page title (no space between them). There is no subtext for secondary menu items, so there is simply a vertical bar after the title and the filename of the corresponding page.

      Example:
      Undergraduate Programs|/ugradprograms.html|Building Your Foundation
      +The Geology Major|/geomajor.html
      +The Geophysics Major|/geophys.html
      +Undergraduate Applications|/ugapply.html
      +Undergraduate Advising|/ugadvising.html
      The page title is highlighted in red above, and the address in blue.
    • Tertiary menu items are similar to secondary menu items except that two dashes ("--") must precede the title (no spaces between). After the page title, place a vertical bar followed by the filename. Please note that tertiary menu functionality was created to help with the transition of websites to the new UCR branding. However, they are generally not recommended if they can be avoided.

      Example:
      Graduate Programs|/grad_programs.html|Explore The Possibilities
      +Graduate Applicants|/grad_apply.html
      --International Applicants|/intl_apply.html
      --Domestic Applicants|/us_apply.html
      +Housing|/housing.html
      +Financial Support|/financialsupport.html
      +Graduate Advising|/gradadv.html

      The page title is highlighted in red above, and the address in blue.
  3. Save and publish in the same manner as any other web page in the CMS.

Important Notes

  • Menu titles must match page titles. The title you specify in the menu.txt file must match the actual title of the page for the menu system to work correctly. If there is an ampersand or other special character in the page title, it must be denoted using the correct HTML character entity code in the menu.txt file, e.g. an ampersand is denoted by "&".
  • Special menu widgets. A special menu widget is available to highlight the "Our People" section of a website, as can be seen at http://earthscience.ucr.edu. To use this widget, there must be a line in menu.txt titled "Our People," which may not have an address nor subtext. This item may have any number of secondary menu items. For example:
    Our People
    +Faculty|/faculty.html
    +Postdoctoral Scholars|/postdoc.html
    +Graduate Students|/gradstudents.html
    +Undergraduate Students|/undergrads.html
    It is also possible to have a "For" section below "Our People". The For section must be formatted like the Our People section; for example:
    Our People
    +Faculty|/faculty.html
    +Postdoctoral Scholars|/postdoc.html
    +Graduate Students|/gradstudents.html
    +Undergraduate Students|/undergrads.html
    For
    +Current Students|/studentinfo.html
    +Future Students|/futurestudents.html
    +Alumni|/alumni.html
    +The Media|/press.html

Next: Editing Related Links


More Information

General Campus Information

University of California, Riverside
900 University Ave.
Riverside, CA 92521
Tel: (951) 827-1012

Career OpportunitiesUCR Libraries
Campus StatusMaps and Directions

Department Information

Content Management System Support
Computing & Communications Building

Tel: (951) 827-3555
Fax: (951) 827-4541
E-mail: cmshelp@ucr.edu

Footer