Hi all

There have been a couple of you that have participated with useful patches in the development in Drupal. Maybe there are also others out there yet to come...

Since I'm personally quite busy at work nowadays (more than when I created Drupal) I would like to share the effort of making the Footnotes version for Drupal 5.0. If you are willing to help, please use this thread to upload patches for review and testing. This thread can also be used for links to relevant information about API changes in 5.0.

Please also consider the suggestion in Footnote should contain a link back to the place in the text with number, it might be a good idea to incorporate.

CommentFileSizeAuthor
#1 footnotes.info271 bytesSemperFideles

Comments

SemperFideles’s picture

StatusFileSize
new271 bytes

I'm pretty sure I got it working. All that was needed was to create a footnotes.info file to be included with the module. File is attached. I have tested it on a migrated site and it's working fine.

monstordh’s picture

the link to the .info file isn't working. if you just create a .info file and paste this in, it works:

; $Id: footnotes.info,v 1.1.2.3 2006/10/18 19:07:45 hingo Exp $
name = Footnotes
description = "Easily add footnotes to your posts."

make sure you have footnotes first and html filter later in your html filters.

hingo’s picture

So I take it that 2 people have now independently tried this with 5.0?

(PS. I realised there is a funny typo in my original issue post above, it says I created Drupal :-)

beginner’s picture

@hingo: Congratulations for creating Drupal :)

@everbody: hingo has just given me the assignment to organize the Drupal 5 release of this module. I am quite busy this week, but I shall make a proper, official release in a week or two. From the comments above, it seems we only need to add the .info file to make it work with D5, those who can't wait can do it very easily themselves.

rbl’s picture

Just installed it and noticed it needs a small change in the part where the stylesheet is added to the head section.
The existing code (line 229 footnotes.module):
theme('add_style', drupal_get_path('module', 'footnotes') . '/footnotes.css');
seems to be deprecated and although the next line works and for all I could see it's pretty kosher, I picked up drupal again only last week
drupal_add_css(drupal_get_path('module', 'footnotes'). '/footnotes.css');

nikle’s picture

Is this working on 5x now?

beginner’s picture

Status: Active » Fixed

I have committed the necessary changes, and create a D5 branch.
Within 24 hours, the system should have packaged the new release.

beginner’s picture

Assigned: Unassigned » beginner
Anonymous’s picture

Status: Fixed » Closed (fixed)