Primary and Secondary Links

Under the Global Settings heading are two fields, Primary Links and Secondary Links, which you can use to create a set of links that can then be displayed on your site. While this isn't the only way to create navigation links, it is a practical and quick way to get the job done. Primary and secondary links can be set only at the global level, not for individual themes.

A primary or secondary link consists of three pieces of information that you enter in the three columns of the table provided: Link Text, URL, and Description. The link text is the part of the link that is visible. The URL can be either an absolute URL (beginning with http://) or a Drupal path. Absolute URLs are used to link to other sites or resources on your server outside Drupal, whereas any resource inside Drupal (such as your blogs, forums, pages, or recent posts) are represented by a Drupal path. The description will be used for the title parameter of the resulting <a> tag, or hyperlink, which will be created. Here are some examples of primary and secondary links:

Link Text

URL (Type)


Resulting HTML


forum (Drupal path)

Discussion forums

<a href=" ?q=forum" title="Discussion forums"> Forums</a>

Recent posts

tracker (Drupal path)

The most recent posts

<a href=" ?q=tracker" title="The most recent posts">Recent posts</a>

Yahoo! (absolute)

A portal to everything

<a href="" title="A portal to everything"> Yahoo!</a>

Was this article helpful?

0 0

Post a comment