Is it possible to control the output of footnote links (i.e. location where footnotes is printed)?

Ideally, I would like to be able to using something like <?php render($content['footnotes']) ?> in my node.tpl.php file to make the footnotes appear in a custom location.

By footnote links I am referring to the list of footnotes links that usually appear at the bottom of a node (e.g. I am NOT referring to the numbers that appear in the body text).

Comments

hingo’s picture

Within the text you can use the tag [footnotes / ] if you want the footnotes printed somewhere else than at the end. In recent versions of footnotes we also have the footnotes_views module, which allows you to get the body text and list of footnotes separately and do what you want with them.

hingo’s picture

Status: Active » Closed (fixed)
big_smile’s picture

Status: Closed (fixed) » Active

Sorry if this is a dumb question, but how do you use Footnotes Views? I have activated the module, but there is no reference to it within Views or anywhere else on my site.

There also does not seem to be any documentation on how to use it.

hingo’s picture

I actually haven't used Views much myself, but I did test this and I can see "Node: Body content" and "Node: Body footnotes" in the Views UI module's admin page.

So I can say "works for me", but sorry, I'm not the best person to give you a tutorial on Views.

Oh, and this seems to only work on Drupal 6. I don't remember why, but it wasn't ported to the Drupal 7 release yet.

big_smile’s picture

Thanks for the reply. I assumed that because a Footnote Views module was included in the Drupal 7 module, it would work in Drupal 7 (even thought the read me file said that it wouldn't). Sorry for the mix up!

rooby’s picture

Status: Active » Closed (duplicate)