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

quicksketch’s picture

To 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.

ndwilliams3’s picture

Think 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

quicksketch’s picture

Ah, 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.

ultimateboy’s picture

Status: Active » Closed (won't fix)

A 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.