Navigation: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{DrupalBack}} | |||
This section covers how to manage your | This section covers how to manage your site's navigation, including adding, removing, and changing the sort order of navigation items. | ||
== 5.1 | == 5.1 Accessing a Site's Navigation == | ||
To access a | To access a site's navigation, go to '''1) Site Settings'''. Then click '''2) Manage Navigation''' in the submenu. This will open the Navigation editor (see 5.2). | ||
{{Screenshot|navigation_1.png|593px|Screenshot showing the Site Settings menu with the Manage Navigation option highlighted.|Access the Navigation editor from the Site Settings menu.}} | |||
== 5.2 | == 5.2 How the Navigation Editor Works == | ||
# '''Title''' - | # '''Title''' - The name displayed at the top of the navigation component. This is always the name of your homepage and should not be changed. | ||
# '''Menu Link''' - | # '''Menu Link''' - Displays all webpages that appear in your site's navigation. To rearrange navigation items, hover over the '''+''' icon to the left of a page name. When the cursor changes, click and drag the page to its new location. | ||
# '''Enabled/Disabled '''- | # '''Enabled/Disabled''' - Check or uncheck this box to temporarily show or hide a navigation item. | ||
# '''Operations '''- This | # '''Operations''' - This dropdown menu allows you to '''Edit''' an existing link name or '''Delete''' it from the navigation. | ||
# '''Add Link''' - Allows you to add a new link. See 5.4 | # '''Add Link''' - Allows you to add a new navigation link. See section 5.4 for more information. | ||
# '''Save''' - | # '''Save''' - Click '''Save''' for your changes to appear on the website. | ||
{{ | {{Callout|type=warning|title=Changes Are Immediate|content=All navigation changes become live as soon as you click '''Save'''. Unlike page content, navigation changes do not have a draft state.}} | ||
{{Screenshot|navigation_editor1.png|579px|Screenshot of the Navigation editor showing the menu structure and editing controls.|The Navigation editor.}} | |||
== 5.3 Arranging the Sort Order of Navigation == | |||
Moving your mouse over the '''+''' icon changes the cursor so you can click and drag a menu item to a new position. Items indented beneath another menu item become child pages of the parent above them. | |||
Drupal supports up to four levels of navigation. | |||
{{Screenshot|Screenshot 2024-07-29 at 5.00.58 PM.png|868px|Screenshot demonstrating drag-and-drop navigation ordering within the Navigation editor.|Drag and drop menu items to change the navigation hierarchy.}} | |||
{{Callout|type=tip|title=Best Practice|content=It is recommended that you keep your navigation to three levels whenever possible. Although Drupal supports a fourth level, limiting your navigation depth generally makes websites easier to navigate. | |||
For example: | |||
4th | * '''1st Level''' — Biology Homepage | ||
* '''2nd Level''' — Academic Program | |||
* '''3rd Level''' — Course Majors & Minors | |||
* '''4th Level''' — Optional (if needed)}} | |||
== | == 5.4 Adding a Page to Navigation == | ||
To add a new page or link to the navigation, click the '''Add Link''' button in the '''Manage Navigation''' screen. | |||
{{Screenshot|add_link1.png|700px|Screenshot showing the Add Link button in the Navigation editor.|Select '''Add Link''' to create a new navigation item.}} | |||
# '''Link''' - Place your cursor in the '''Link''' field and begin typing the title of the page you wish to add (for example, "Admissions"). You may also enter an internal path such as <code>/admissions-aid</code> or an external URL such as <code>https://swarthmoreathletics.com/</code>. | |||
# '''Menu Link Title''' - This is the text displayed in the navigation. When selecting another Drupal page, this field is automatically populated using the page title. If linking to an external website or document, you will need to provide your own title. | |||
# '''Link to a Document''' - Select or upload a document to create a navigation link directly to that file. | |||
# '''Enabled/Disabled''' - Determines whether the navigation link is immediately visible. | |||
# '''Parent Link''' - Places the link beneath an existing navigation item when it is created, reducing the amount of drag-and-drop required afterward. | |||
# '''Save''' - Save your changes. | |||
{{Screenshot|add_menu_link1.png|713px|Screenshot of the Add Menu Link form showing the available fields.|The Add Menu Link form.}} | |||
5. | == 5.5 Editing or Removing a Navigation Link == | ||
You can edit or remove an existing navigation link using the '''Operations''' menu. | |||
# Click '''Edit''' in the Operations dropdown to edit an existing navigation link. | |||
{{Screenshot|edit_1.png|509px|Screenshot showing the Edit option in the Operations menu.|Choose '''Edit''' to modify a navigation link.}} | |||
# Select '''Delete''' from the same menu if you wish to remove the navigation link. | |||
{{Screenshot|edit_3.png|509px|Screenshot showing the Delete option in the Operations menu.|Choose '''Delete''' to remove a navigation link.}} | |||
If you select '''Edit''', Drupal opens the '''Edit Menu Link''' window. | |||
# '''Link''' - Displays the current webpage, external URL, or document referenced by the navigation item. | |||
# '''Menu Link Title''' - Displays the text shown in the navigation. | |||
# '''Link to a Document''' - Allows you to change the linked document. | |||
# '''Enabled/Disabled''' - Allows you to show or hide the navigation link. | |||
# '''Save''' - Click '''Save''' to commit your changes. | |||
{{Screenshot|edit_2.png|1054px|Screenshot of the Edit Menu Link dialog showing the available editing fields.|The Edit Menu Link dialog.}} | |||
[[Category:Drupal]] | [[Category:Drupal]] | ||
Revision as of 13:57, 10 July 2026
This section covers how to manage your site's navigation, including adding, removing, and changing the sort order of navigation items.
To access a site's navigation, go to 1) Site Settings. Then click 2) Manage Navigation in the submenu. This will open the Navigation editor (see 5.2).
- Title - The name displayed at the top of the navigation component. This is always the name of your homepage and should not be changed.
- Menu Link - Displays all webpages that appear in your site's navigation. To rearrange navigation items, hover over the + icon to the left of a page name. When the cursor changes, click and drag the page to its new location.
- Enabled/Disabled - Check or uncheck this box to temporarily show or hide a navigation item.
- Operations - This dropdown menu allows you to Edit an existing link name or Delete it from the navigation.
- Add Link - Allows you to add a new navigation link. See section 5.4 for more information.
- Save - Click Save for your changes to appear on the website.
Moving your mouse over the + icon changes the cursor so you can click and drag a menu item to a new position. Items indented beneath another menu item become child pages of the parent above them.
Drupal supports up to four levels of navigation.
For example:
- 1st Level — Biology Homepage
- 2nd Level — Academic Program
- 3rd Level — Course Majors & Minors
- 4th Level — Optional (if needed)
To add a new page or link to the navigation, click the Add Link button in the Manage Navigation screen.
- Link - Place your cursor in the Link field and begin typing the title of the page you wish to add (for example, "Admissions"). You may also enter an internal path such as
/admissions-aidor an external URL such ashttps://swarthmoreathletics.com/. - Menu Link Title - This is the text displayed in the navigation. When selecting another Drupal page, this field is automatically populated using the page title. If linking to an external website or document, you will need to provide your own title.
- Link to a Document - Select or upload a document to create a navigation link directly to that file.
- Enabled/Disabled - Determines whether the navigation link is immediately visible.
- Parent Link - Places the link beneath an existing navigation item when it is created, reducing the amount of drag-and-drop required afterward.
- Save - Save your changes.
You can edit or remove an existing navigation link using the Operations menu.
- Click Edit in the Operations dropdown to edit an existing navigation link.
- Select Delete from the same menu if you wish to remove the navigation link.
If you select Edit, Drupal opens the Edit Menu Link window.
- Link - Displays the current webpage, external URL, or document referenced by the navigation item.
- Menu Link Title - Displays the text shown in the navigation.
- Link to a Document - Allows you to change the linked document.
- Enabled/Disabled - Allows you to show or hide the navigation link.
- Save - Click Save to commit your changes.







