Drupal: Link to Other Pages on Your Site with LinkIt

The following instructions are for websites using the default UMN Drupal Enterprise 7 configuration.

Description

In the University's standard Drupal installation, it's easy to create links to other content in your site. When you are creating links to other content on your site, you should always use a Relative Reference, instead of an Absolute Reference

  • http://site30.drupaltraining.umn.edu/faculty/barbara-rozycki is an Absolute Reference
  • /faculty/barbara-rozycki is a Relative Reference

The LinkIt tool makes it easier to create relative references: you can start typing the title of the content, and then the tool will insert the correct relative reference.

 

Instructions

To create a link to another piece of content on your site

  1. Log in to your site
  2. Find the content you want to add a link to
  3. Click the LinkIt tool in the wysiwyg toolbar the linkit icon
  4. Start typing the Title of the content
    1. After typing a few letters, the tool will present a list of matches
  5. Select the content
    1. In the Link URL field, it will enter the correct relative reference
  6. Click the Insert Link button
the LinkIt interface

Additional Information

Note: The default behavior for links inserted using the LinkIt tool is to open in the same window. If you want the link to open in a new window

  1. Select the linked text in the editor window
  2. Click the Insert/Edit Hyperlink button on the toolbar
  3. Click the Target drop-down selector and choose Open Link in a New Window
the insert/edit link toolbar button