Drupal 7 Core Fields vs. CCK (Looking for advice on a link field)

Events happening in the community are now at Drupal community events on www.drupal.org.
gilcreque's picture

I'm working on a site in D7 and I want to have a link field. In D6 I used the Link project which requires CCK. They have a D7 version but when I got to the CCK project they said that everything as moved to core or separate projects (except for certain cases).

So do I use CCK and the Link project in D7 or do I have to create my own link field using the D7 field api?

Comments

Do you need the link

mherchel's picture

Do you need the link validated when you're inputting it? Or do you need a title for the link?

...That's really the only advantage that the Link module has over a standard text field.

As far as D7, the Link module doesn't require you to download CCK... CCK is built into core (and renamed Field API)

So, if you do need the Link module, go for it. It should be pretty straightforward. However, if you don't need validation or a title, you may not need the extra module.

Thanks!

gilcreque's picture

I was discussing this with Mike last night at the Brevard meeting. I should have looked at the dependencies in the module for Link. I was mislead by the project page that says it requires CCK.

DRUPAL 7 LINK WIDGET

back from 7's picture

This will upgrade your fields from Drupal 6 to 7 link fields http://drupal.org/project/link

Florida

Group organizers

Group categories

Florida Topics

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: