TOC Macro interferes with Links to Headings

Kirstin Seidel-Gebert
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 26, 2012

I want to link to a heading far below on a Confluence page. This page also contains a TOC macro at the top.
The link pagename#heading jumps to the heading listed in the TOC macro, not the "real" one down the page.

Am I doing something wrong or is this a bug?

4 answers

1 accepted

0 votes
Answer accepted
Kirstin Seidel-Gebert
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 28, 2012

Finally, I found out that my problems linking to an anchor probably are due to a plugin we're using.

0 votes
William Zanchet [Atlassian]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 26, 2012

I think that you're facing this bug: https://jira.atlassian.com/browse/CONF-17962
Which version of Confluence you're running? It seems that in Confluence 4.3.X this problem was fixed.

I hope this helps.

Cheers,

WZ

Kirstin Seidel-Gebert
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 27, 2012

Thank you, William, but we are using Confluence 4.3.1.

0 votes
tousifs
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 26, 2012

Hi ,

I just faced the similar problem .

Please make sure Headers are not under any macro.

it will work or if your using 4.0 higher version make sure headers are put in the editor not in wiki.

all d best.

cheers,

tousif

Kirstin Seidel-Gebert
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 26, 2012

Thanks for your reply, Tousif. But I think my problems are coming from above mentioned Firfox bug.

0 votes
Alejandro Conde Carrillo
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 26, 2012

You can try inserting an anchor right before your heading with a different name and link to the anchor instead.

More info in: Working with Anchors.

Kirstin Seidel-Gebert
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 26, 2012

I already tried this, but apparently I'm suffering from a Firefox bug now. Firefox 17 jumps to whatever position on the page, but not to the position of the anchor. It works alright with IE9, however.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events