We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Footnotes, anyone...?

Development and Programming

Derek Jones's avatar
Derek Jones
7,561 posts
about 19 years ago
Derek Jones's avatar Derek Jones

Linguist: Yes, it’s intended that you use it inside the entry. It’s parsed by the plugin during the template rendering phase, not as an EE tag, but as something that this plugin is specifically looking for.

Mats: Glad you like it Mats. I generally do submit my plugins to our official repository, but only after they’ve been in the wild for awhile so I have time to fix any unanticipated bugs or add any features that might reveal their need.

       
Sean C. Smith's avatar
Sean C. Smith
3,818 posts
about 19 years ago
Sean C. Smith's avatar Sean C. Smith

In that case I could’ve really used this plugin about 18 months ago when I was doing a lot of academic writing. Will install now for future academic writing. Thanks for this.

       
e-man's avatar
e-man
1,816 posts
about 19 years ago
e-man's avatar e-man
P.S. @Mr Wilson, would you care to put up your plugin for download someplace, including documentation how to install and use it? Thanks. D.S.

I second that as it seems a very elegant solution…

       
Mr. Wilson's avatar
Mr. Wilson
131 posts
about 19 years ago
Mr. Wilson's avatar Mr. Wilson

Ask and ye shall receive. Introducing: Feetnotes 1.0. I threw the docs together really quickly tonight. And for that matter I threw the plugin together pretty quickly, too. Give it a whirl and let me know how it works for you. Feel free to peek under the hood; there is some configurable stuff in there.

       
Derek Jones's avatar
Derek Jones
7,561 posts
about 19 years ago
Derek Jones's avatar Derek Jones

<voice [removed]>Where does he get those wonderful toys names?</voice>

As per usual, I love your naming conventions, Brent. 😊

       
mWall's avatar
mWall
126 posts
about 19 years ago
mWall's avatar mWall

Not everything is sunshine. As a matter of fact, I do have a slight problem with this plugin, and I think… if I have this problem, probably many more will encounter it too. So how to deal with it?

It concerns the use of the Unicode entity ↩ and MSIE (sigh). In Firefox ↩ it displays as it should do, as an old-fashioned electrical typewriter carriage return arrow. But in IE it displays by default one of these small can’t-display-this-character boxes (see example here – and in this very post if you are using IE6 and older!).

I tried to do some research on how to show Unicode entities in IE, but I can’t say it made me much wiser. How do you circumvent this rather annoying problem (other than boycotting IE6 and older browsers… [I think IE7 will solve this problem])? You don’t want to revert to a simple text link (“Back”) if you can help it, do you?

Mats

       
Ingmar Greil's avatar
Ingmar Greil
29,243 posts
about 19 years ago
Ingmar Greil's avatar Ingmar Greil

Have you read the original article by Johne Gruber / Daring Fireball, whose work these plugins are based upon? Let me quote:

Of course, because it’s a Unicode character, the design assumes you’ve got a Unicode-savvy web browser and Unicode-savvy fonts installed on your system. Some users of pre-XP versions of Windows may just see a box instead of a hooked arrow. My heart bleeds.

If it’s really bothering you, you can always use some other character, like « or similar.

       
e-man's avatar
e-man
1,816 posts
about 19 years ago
e-man's avatar e-man

Top man! Cheers!

       
mWall's avatar
mWall
126 posts
about 19 years ago
mWall's avatar mWall
Have you read the original article by Johne Gruber / Daring Fireball, whose work these plugins are based upon? Let me quote:
Of course, because it’s a Unicode character, the design assumes you’ve got a Unicode-savvy web browser and Unicode-savvy fonts installed on your system. Some users of pre-XP versions of Windows may just see a box instead of a hooked arrow. My heart bleeds.

Yes, I skimmed through John Gruber’s article, but I didn’t notice this quote since it was placed in a… footnote. 😛

If it’s really bothering you, you can always use some other character, like « or similar.

Of course you can, but my question was really, Is there another better way to solve this problem than to revert to this method? And as far as I can tell from what I’ve read about this, it isn’t so much a problem of “pre-XP versions of Windows” (I run XP but use IE for test purposes) as it is a problem of what browser you use (pre-IE7) in combination with what fonts are defined in you site’s CSS. Am I wrong?

Mats

       
Ingmar Greil's avatar
Ingmar Greil
29,243 posts
about 19 years ago
Ingmar Greil's avatar Ingmar Greil
Of course you can, but my question was really, Is there another better way to solve this problem than to revert to this method? Am I wrong?

I wouldn’t know, and not to put too fine a point on it, really can’t be bothered to investigate. I happily blame IE.

       
Derek Jones's avatar
Derek Jones
7,561 posts
about 19 years ago
Derek Jones's avatar Derek Jones

I thought that Windows XP SP2 with IE6 worked fine with Unicode. Are you serving your document with a UTF-8 encoding?

       
mWall's avatar
mWall
126 posts
about 19 years ago
mWall's avatar mWall
I thought that Windows XP SP2 with IE6 worked fine with Unicode. Are you serving your document with a UTF-8 encoding?

Yes, I am. In all my template <head> tags I use:

<meta http-equiv="content-type" content="text/html; charset=utf-8" />
       
Ingmar Greil's avatar
Ingmar Greil
29,243 posts
about 19 years ago
Ingmar Greil's avatar Ingmar Greil

Not for me, no. Not that I’m using IE very often, but I have IE 6.0.2900.2180 here, on Windows XP Pro 5.1 Build 2600 SP2, and I see the squares instead of the hooked arrows. Couldn’t care less, though.

       
Mr. Wilson's avatar
Mr. Wilson
131 posts
about 19 years ago
Mr. Wilson's avatar Mr. Wilson
As per usual, I love your naming conventions, Brent.

Thanks! You should see some of the others I’ve got behind the scenes.

It concerns the use of the Unicode entity ↩ and MSIE (*sigh*).

Just as soon as I can get onto my main computer I will make the ↩ user-configurable. I meant to do that originally. My bad. That’s what I get for not testing in IE.

Other than that, has anybody tried Feetnotes? Is it working? I’ve only used it in a testing environment, so if anybody puts it into a live site I’d love to see it.

       
Derek Jones's avatar
Derek Jones
7,561 posts
about 19 years ago
Derek Jones's avatar Derek Jones

sigh How can there be no redeeming qualities in an entire family of browsers?

I’ve updated the plugin to allow you to specify an alternate character (or even a full text link if you want) that’s used for the return link by way of an optional tag parameter.

       
1 2 3 4

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.