James Frank . Info

Visions of Code, Creativity, and Career

Simple Footnotes

This plugin implements basic footnote and endnote functionality for Joomla! articles.  It takes footnotes marked within the article text and converts them into HTML anchors.

This plugin was originally derived from a Tips & Notes plugin.  I didn’t want my footnotes implemented in CSS and Javascript when Joomla had the power to process them in the backend, so I rewrote it.

Current Version: .1

Version .1 of the footnotes plugin is available from http://joomlacode.org/gf/project/simplefootnotes/frs/.

There is also a feature request and bug tracker system at http://joomlacode.org/gf/project/simplefootnotes/tracker/.

Usage:

Footnotes ExampleSimply place the following marker in the text where a footnote is desired:

{footnote}Put your footnote text here.{/footnote}

The plugin will automagically replace each reference with a sequentially numbered footnote marker (1, 2, 3, and so on) and place the footnote at the bottom of the article.

The plugin also supports endnotes.  These are marked this way:

{endnote}Put your endnote text here.{/endnote}

All endnotes, wherever they are placed in the article, are simply moved to the bottom of the article and numbered sequentially.  No marker is placed in the text where they were.  Note that this is contrary to the typical definition of “endnote,” it was developed because I needed the functionality.

Note: If the article uses a “read more” link, neither footnotes nor endnotes will show up on pages where just the text before the “read more” link is displayed.  If an article does not have a “read more” link then notes will show up anywhere the article is displayed.

Further Note: If an article uses pagebreaks to create a multi-page article then footnotes and endnotes will display on whatever page they fall on.

Installation:

  1. Install the plugin
  2. Go to your Plugin Manager and enable the plugin
  3. In Joomla! articles insert footnotes per the instructions above

12 Comments »

  Eric wrote @

give a screent shot is doesn’t hurt!!

  Jeff wrote @

I don’t quite fully understand how this plugin is supposed to work on the front-end. Is it possible for you to provide a demo?

  James wrote @

@Jeff: Unfortunately I don’t currently have the capabilities to provide a demo. But, to appease Eric and help you out, I have added a screenshot of the front-end. Basically it creates an HTML div at the end of the article, gives it a heading of “Footnotes” and places all the footnotes underneath that. Each note in the article text is replaced by an HTML anchor tag that jumps you to the relevant footnote below.

  Jimmy wrote @

Any chance there’s a version of this for Joomla 1.0 versions?

  James wrote @

Nope, sorry…

  Ricardo Cristof Remmert-Fontes wrote @

hi,

this is a great Plugin, but I discovered some strange behaviour:

when displaying the intro of an article on the frontpage, which contains footnotes (in the intro), the footnote-tag is not parsed. It shows {footnote}etc.{/footnote}.

When open the article via click on read more or the tittle, the footnotes work fine.

Actually, here is an example:

What is the reaon for that?

Best regards,
Ricardo Cristof

  Richard wrote @

It works great. I like it!

  Jim wrote @

@Ricardo: Presumably the Joomla hook that I am using to call the plugin gets processed on page display, but not on front page display. I may look into changing that at some point in the future.

  Marrett wrote @

Just used it for education site with .The educational article becomes more useful with footnotes.

This is great plugin. Thank you very much .Will give it 5 stars on JED .

A request though- it would be nice if the text for the footnote coud be a link to a website.

Thanks once again for a very useful extension!

  Jim wrote @

You should be able to do that. Just include the HTML for the link inside the footnote. Like this: {footnote}<a href=”link.html”>This is my footnote.</a>{/footnote}

  Ricardo Cristof Remmert-Fontes wrote @

Hi,

it’s even easier: simply mark the word/sentence, you want to link and click the “Insert URL”-button.

best regards,
Ricardo Cristof

  Jim wrote @

Ah, good point. I forgot about the WYSIWIG.


Your comment

HTML-Tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>