Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
A lightweight URL field that is intended to be used as the basis for Drupal 8's URL field type in #501434: Move Link/URL field type into core. This can also easily be used to replace Drupal 6 profile URL fields.
Dependencies
None
Features
External links only
Optional title support
Titles can be automatically fetched from the <title> value of the URL.
Widget with options to use title or URL as the link text, and trim length for long URLs or titles.
Token replacement of the title field on display.
API support for attributes for each URL field value (not exposed in the widget).
If you need more complex stuff like supporting internal links or targets, etc., then you can easily write more complex field widgets and formatters.
Recommended modules
Elements module if enabled, the default URL field widget will use the HTML5 'url' FAPI element.
XCRI-CAP stands for eXchanging Course Related Information, Course Advertising Profile. XCRI-CAP is the UK standard for describing course marketing information. It shows how to structure the information, defines and names the data components and specifies the types of data permitted within each component.
This feature is supported by the JISC Course Data project, which aims to improve the Course Advertising Profile (CAP) of institutions within the education sector.