Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2010-06-07 08:16:18

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,909
Website

Re: [textile] Footnotes modified

This is a nice mod I may put to use, Zanza. I assume the file still works OK?

Offline

#14 2011-08-19 09:32:11

JC
New Member
From: Juillan, France
Registered: 2011-08-19
Posts: 1

Re: [textile] Footnotes modified

Links are broken and Textpattern 4.4.1 is now bundled with Textile 2.2.
Here is my update for Zanza’s mod.

Edit classTextile.php in textpattern > lib directory.

Search for the following line of code…

$content = $sup . ' ' . $content;

… and replace it by this one :

$content = $sup . ' ' . $content . ' ' . '<a href="#fnrev' . $fnid . '" title="Back to note ' . $fns[1] . '">' . '↵' . '</a>';

Feel free to translate title into your own idiom…

Last edited by JC (2011-08-19 15:04:10)

Offline

Board footer

Powered by FluxBB