Copied to clipboard

Flag this post as spam?

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


  • Inx51 54 posts 107 karma points
    Dec 13, 2013 @ 23:46
    Inx51
    0

    Single link in umbraco 7, not realated links

    Hi!

    I might be missing something here.. but is there any data type for creating a single link?.. like the realated links data type.. but with the limitation of only adding one link.. for instance in any case where I dont want a complete list of links but only one single link.. as for instance if I wrap and img-element in an a-element where the image should be "linkable".. I dont want an entire list of links.. I just want to provide my user with a simple way of adding ONE link for that image.

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Dec 14, 2013 @ 11:46
    Dennis Aaen
    0

    Hi inx51,

    Given your description of your case, I would probably use the data type content picker. By using this it´s possible to select single nodes or folders in the content tree.

    Hope this could be a solution for you.

    Documentation for the content picker can be found here: http://our.umbraco.org/documentation/Using-Umbraco/Backoffice-Overview/Property-Editors/Built-in-Property-Editors/Content-Picker

    /Dennis

  • Inx51 54 posts 107 karma points
    Dec 14, 2013 @ 13:10
    Inx51
    0

    Yes in this case that would do it.. but I still dont see why there isnt a data type for a single link.. I think that the case where you want to limit the editor to only fill in a single link is by far more common than an entire list of links?.. what if this link would have to be external?.. Im just saying.. some one over at HQ should really look into this.. or at least create an option for the related links to only allow a single link..

    Guess I could create a data type on my own.. but this seems like something that sould be included by default (as all other common data-types that one might use)

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Dec 14, 2013 @ 13:54
    Dennis Aaen
    100

    Hi Inx51.

    In case where you want to use  a single link and this can be internal or external, I think you should take a look at the uComponents package. In the package there is URL Picker data type that you could use the internal and external links, even links to media files.

    The documentation for the uComponents Url Picker can be found here: http://ucomponents.codeplex.com/wikipage?title=UrlPicker

    Keep in mind that I don´t know if uComponents is compatible with Umbraco 7 yet. But you could try ask in the http://our.umbraco.org/projects/backoffice-extensions/ucomponents/questionssuggestions I know Lee Kelleher have asked which data types that people will love in a version 7 of uComponents.

    /Dennis

  • Inx51 54 posts 107 karma points
    Dec 14, 2013 @ 15:23
    Inx51
    0

    Yes, uComponents would solve my problem (and alot of other data type related problems as well).. but it isnt released yet for Umbraco 7.. which is a pain.. I dont quite get why the core/hq-team doesnt sync thier work with the most commonly used packages before a release.. since uComponents totally extends umbraco to a different level than the default umbraco-installation.

    Anyway, thanks for your replies :)! I will most likely build my own data type renderer or wait for uComponents to get released :).

     

    Br,

    Inx

  • Edwin van Koppen 156 posts 270 karma points
    May 20, 2014 @ 13:19
    Edwin van Koppen
    0

    Can you vote this! I'm searching also to a one links datatype! (and don't have the time to build it now!)

  • Aaron Papp 3 posts 22 karma points
    May 20, 2014 @ 18:37
    Aaron Papp
    0

    It would be nice to be able to set a limit, that way we can just inherit from Related Links and set the limit to 1 for an invidivual link.

  • Edwin van Koppen 156 posts 270 karma points
    May 21, 2014 @ 08:28
    Edwin van Koppen
    0

    Yeah, we fix it now in the code like that but it not very nice to the Umbraco user that can insert more links.

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    May 21, 2014 @ 09:09
    Dave Woestenborghs
    1

    You can use this package : http://our.umbraco.org/projects/backoffice-extensions/multi-url-picker

    You can limit it to allow only one url to be picked.

    Dave

  • Murray Roke 503 posts 966 karma points c-trib
    Mar 18, 2015 @ 21:47
    Murray Roke
    0

    Created an issue for you to vote for: http://issues.umbraco.org/issue/U4-6425

Please Sign in or register to post replies

Write your reply to:

Draft