Links & Anchors

You can embed links to other content, pages, and websites.

 

Link Types
Internal A link to a page within the primary college website (Drupal).
External A link to a page outside of the primary college website (facebook.com, latimes.com, Moodle, MyOxy).
Anchor A link that jumps to content within the same page. (Each heading in this table is a link to an anchor.)
Email A link that points to an email address.
Node ID How to link to an internal page by its node id.
Link Targeting How to set links to open in a new window.

Internal Links

Steps

  1. Highlight the word or phrase you would like to be your link.
  2. Click on the "link" icon in the formatting toolbar.
  3. The link type should be set to "internal path" by default.
  4. Begin typing the name of the page you want to link to. The site will search for your page as you type. If there are other pages with the same name as your search term, you can see the section and content type for your page in the help text.
    ""
  5. Click on the name of the page you want to link to.
    ""
  6. Click "Ok"

Can't find your specific page? Follow the instructions for linking to a node id.

External Links

Steps

  1. Highlight the word or phrase you would like to be your link.
  2. Click on the "link" icon in the formatting toolbar.
  3. Select "URL" in the Link Type drop down.
    ""
  4. Type or paste your link into the URL field.
    ""
  5. Click "Ok".

Anchor Tags & Links

Anchor tags allow you to link to specific sections on a page. 

Steps

  1. Place your cursor in front of the first word in the heading or paragraph your want to link to.
  2. Click on the anchor icon.
    anchor icon
  3. Give your anchor a one word title you will remember. If you use more than one word place dashes between each word.
    ""
  4. Click "Ok"
  5. Highlight the word or phrase you would like to link to your anchor.
  6. Click on the link icon.
  7. Select “link to anchor in the text" from the Link Type dropdown.
    ""
  8. Select your anchor name in the “by anchor name" dropdown.
    ""
  9. Click "Ok".

Email Links

Steps

  1. Highlight an email address. bbeck@oxy.edu
  2. Click on the link icon.
  3. Select "E-mail" from the Link Type dropdown.
    ""
  4. Type or paste the email address in the "E-mail Address" field.
    ""
  5. If desired, you can also pre-populate the email subject and body text.
  6. Click "Ok".

Link to an Internal Page by Node ID

When you need to link to a page on oxy.edu from any field that does not have a rich text editor (for example, in a Drupal paragraph that supports links) you can still use the internal link format by following the steps below. It's very important to always use the node ID and not the page URL when linking to content on oxy.edu.

  1. Open a new tab in your browser and go to the page you want to link to.
  2. Click "edit" and then click "edit homepage" (or "edit inside page", etc.).
  3. Find and copy the node id in the brower address bar. The text that you want to copy is node/ and the following number.
    ""
  4. Go back to the tab where you were creating your link. Paste the node ID of the page you want to link to in the following format: "node/nnnnn".
  5. Click "save" to save your changes.

Open a Link in a New Window

All external links will automatically open in a new window by default, but you can also manually set a link to open in a new window by following the steps below.

  1. Follow the above steps for the appropriate link type. Before you click "Ok," proceed to the next step.
  2. Click on the "Target" tab.
    ""
  3. Choose "New Window" from the dropdown.
  4. Click "Ok".