Copied to clipboard

Flag this post as spam?

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


  • mfeola 117 posts 221 karma points
    Apr 02, 2010 @ 22:04
    mfeola
    0

    Umbraco single link module

    I know umbraco has the related link section to use as a datatype that has a really nice interface when choosing between an internal or external link. My only problem with that is that I only need the admin to add one link to the site and instead i have been using three datatypes to do it (four if media type is included).  One for internal link, one for external link, and one for the text of the link and making a usercontrol to decide which to display depending on what was selected.

    Is there a datatype that already uses the related link interface to give an admin the ability to add a single link through the backend?  

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Apr 05, 2010 @ 09:57
    Sebastiaan Janssen
    0

    I'm not sure what you're trying to do exactly, but it sounds an aweful lot like the link button in the rich text editor. You could create a new RTE datatype and remove all of the buttons from it, except for the link button.

  • mfeola 117 posts 221 karma points
    Apr 05, 2010 @ 16:59
    mfeola
    0

    yeah i am looking into the second thing you had mentioned today, but i will explain what i wanted to do a little more coherently.

    i am setting up the umbraco side of a site so an admin can add in a link to various fields on a homepage and in order to keep the style correct i dont want them to use a rich text editor and instead just add a link.

    i have been doing links in a more drawn out way with adding a text field for the link text, content picker for internal link, and text field for external link.  but this home page i am working on needs about 7 links and to make 21 fields for this will just overwhelm the admin too much.  while looking for an alternative i found the related links data type and that interface just had a much better user experience so i was hoping there was an available option that had that same UI, but only gave the admin the ability to add a single link.

    Thank you for your response, i would give you a thumbs up but i dont have enough karma :-\

  • mfeola 117 posts 221 karma points
    Apr 06, 2010 @ 17:43
    mfeola
    0

    alright, i was able to grab an already existing related links module and just formatted it so that it can only take in one item at a time by clearing out what was there beforehand every time.  that should suit my needs for this :D

Please Sign in or register to post replies

Write your reply to:

Draft