Closed (won't fix)
Project:
Link
Version:
5.x-2.5
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Sep 2008 at 20:29 UTC
Updated:
18 Mar 2009 at 19:13 UTC
Ability to add a select list to define a link type.
Ex. (Type: Official Website, Title: Example , URL: www.example.com)
(Type: MySpace, Title: John Doe's MySpace, URL: www.example.com)
(Type: Sponsor, Title: Example Sponsor, URL: www.example.com)
I attempted to do this by adding a select list field and grouping it with the link field, but it does not work for multiple values. This feature would help to quickly add and define multiple links and keep things consistent across nodes.
Comments
Comment #1
quicksketchTo clarify, you want the ability to enter in a URL/Title link OR select from a select list for every link? In other words, the user gets the option to use an existing link or enter a new one.
Comment #2
ndwilliams3 commentedThink of it as taxonomy for a link field. It would be another field in addition to title and the url to define the link type when adding multiple links to a node. For example, Official Website, Fan Site, Blog, Sponsor, MySpace, Review, etc. A select list would be nice, so things could be kept consistent, but a text field would work.
The link would display on the node as Type:Title:URL
[Sponsor] Example Sponsor: www.example.com
Comment #3
quicksketchAh, so I think what you're describing is the arbitrary grouping of fields (like combining a select and a link). I don't think adding a select list to link makes much sense, as it's going beyond the abilities of what the module is designed to do. The problem of grouping fields together is a problem for the main CCK package. The (very-rough) first attempt is called flexifield, which you might give a try, but I won't start adding additional fields to links when this problem isn't specific to link fields.
Comment #4
ultimateboy commentedA lot of work has been done with CCK to make something like this possible. Follow the progress #119102: Combo field - group different fields into one, but as quicksketch stated, this is beyond the scope of this project.