How to Create Footnotes in Drupal

| Drupal
How to Create Footnotes in Drupal

If you're using Drupal for an academic site, you may want to use footnotes in your content.

There is a Drupal module that makes this easy. In this tutorial, I'm going to show you how add footnotes.

  • Install and and enable the Footnotes module
  • Go to Configuration > Text formats.
  • Edit a text format and check the "Footnotes" box.
  • Save this text format and repeat the process any other formats you use.
How to Create Footnotes in Drupal

Go to create content. This is the syntax you can use to create footnotes:

[fn]Nice feature. Here's how to find more ...[/fn]
[fn]Woah! This is nice too! This link has more info ...[/fn]

Alternatively, you can use <fn> tags.

Here is how footnotes will appear in your content:

Once you save the content, your footnotes will look like the image below. Drupal will automatically number the footnotes and place them at the bottom of the page.

It is possible to specify the numbers of the footnotes using this syntax:

[fn value="1"]

You can use this to manually choose the numbering, or to combine multiple footnotes.

In the image above, we had three footnotes with a value of 1. Here's how they would appear on the page ...

About the author

Steve is the founder of OSTraining. Originally from the UK, he now lives in Sarasota in the USA. Steve's work straddles the line between teaching and web development.