As far as I'm aware, the anchor option is only populated for anchors on the page you are editing, so you can't link to an anchor on another page, without editing the url, i.e. manually appending #MyAnchor. This then means (although I'm not 100% sure) that the link won't update if you change the target page name, which means you're losing some functionality.
I can't think of a good solution for this without building your pages programmatically with child nodes (i.e. 1 node per anchor), and having a macro to build the links for you - but that seems a pretty huge and mostly futile workaround.
Page anchors wont work
Iam trying to create an dictionary, on one page, with possiblity to link further down the page from another page.
I have created a page, with a lot of anchors, when i press "html", i can see the editor creates <a name="MyAnchor" id="MyAnchor"></a>.
But when i try to link to an anchor at a page, the "anchor" dropdown is empty.
Does any one have a solution ?
Thanks in advance.
Jacob Jensen
System:
IIS7, SQL 2005
Umb version:
umbraco v 4.0.1 (Assembly version: 1.0.3373.718)
Imgs:
http://img36.imageshack.us/img36/4565/14500658.png <-- the page with the anchors
http://img36.imageshack.us/img36/1659/40195801.png <-- when i try to link
Hi Jacob,
As far as I'm aware, the anchor option is only populated for anchors on the page you are editing, so you can't link to an anchor on another page, without editing the url, i.e. manually appending #MyAnchor. This then means (although I'm not 100% sure) that the link won't update if you change the target page name, which means you're losing some functionality.
I can't think of a good solution for this without building your pages programmatically with child nodes (i.e. 1 node per anchor), and having a macro to build the links for you - but that seems a pretty huge and mostly futile workaround.
Josh
Ahh okay
missunderstood the functionality :) - and its possible in some other cms i juse.
Thank you for helping me out !
Jacob.
is working on a reply...