Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jacob Jensen 29 posts 49 karma points
    Sep 24, 2009 @ 09:38
    Jacob Jensen
    0

    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

  • Josh Townson 67 posts 162 karma points
    Sep 24, 2009 @ 12:23
    Josh Townson
    0

    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

  • Jacob Jensen 29 posts 49 karma points
    Sep 24, 2009 @ 12:41
    Jacob Jensen
    0

    Ahh okay

    missunderstood the functionality :) - and its possible in some other cms i juse.

    Thank you for helping me out !

    Jacob.

Please Sign in or register to post replies

Write your reply to:

Draft