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.
Given yourdescription of yourcase, I wouldprobably usethe data typecontentpicker.By using thisit´spossibleto selectsinglenodes orfoldersin the content tree.
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)
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.
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 :).
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.
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
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)
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
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
Can you vote this! I'm searching also to a one links datatype! (and don't have the time to build it now!)
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.
Yeah, we fix it now in the code like that but it not very nice to the Umbraco user that can insert more links.
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
Created an issue for you to vote for: http://issues.umbraco.org/issue/U4-6425
is working on a reply...