Item10319: Footnotes: backlink not working properly in 1.1.2

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: FootNotesPlugin
Branches:
Reported By: RaymondWesterik
Waiting For: Foswiki:Main.IanBygrave
Last Change By: FlorianSchlichting
-- RaymondWesterik - 04 Feb 2011

Hi,

I tested the footnotes plugin in version 1.0.9 and it worked fine (a very userful tool for me, thanx for that). Now that I use 1.1.2 the backlink of that note doesn't work properly anymore. So, when you click on a note in the text, you are transferred to that note below (all correct so far). But when you hit the note itself to get back to the text, you are transferred to the webhome (instead of the text belonging to that note on the same page). I use the basic code (example): Text here {{footnote}}

It looks like the build-up of the URL is wrong: when you have a footnote - let's say on a page called TestPage - and you click the backlink the URL says (example): ../WikiName/WebHome#FootNote1text Where it should be: ../WikiName/TestPage#FootNote1text

Do you have a solution? Thanx for your help!

Best regards, Raymond Westerik Netherlands

I've reproduced this on trunk and will work to find a fix.

-- IanBygrave - 05 Feb 2011

Fixed.

-- IanBygrave - 05 Feb 2011

Thanx Ian, I adjusted the code and it works perfect now!

-- RaymondWesterik - 07 Feb 2011

 
Topic revision: r7 - 12 Dec 2016, FlorianSchlichting
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy