Modules: CCK

Filter by Drupal Core compatibility:
Login or register to modify the filter.

Contributed (contrib) modules are plugins for Drupal that extend, build or enhance Drupal core functionality. Use matching versions (modules released for Drupal 5.x will not work for Drupal 6.x). Contributed modules are not part of Drupal core releases and may or may not have optimized code/functionality. If a module solves your needs please consider joining forces and helping the maintainer.

Add and Reference

This module adds the ability to reference non-existing (new) nodes right from nodereference field when You're adding or editing the node.

It's recommended to use this module with a Form restore module. It simplifies the workflow and enables support for multi-step chained nodes creation - if the content type of new node have nodereference fields it is possible to add and reference from it and so on (up to 10 steps now supported).

VersionDateLinksStatus
4.7.x-1.x-dev2006-Nov-13Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

Addnode

I don't have any spare time at the moment to maintain this module. I am available though, if people want to fund additional development to fix several of the bugs or add features. I can be contacted at: lionfish@uwcs.co.uk

This module defines a widget to be used with the nodereference CCK field type. It allows the user to either select items in a list (in the normal way) or create new items in a form on the same page. Note that add_n_reference is similar, but sends the user to the create-node page for that node type, rather than allowing them to create it on the same page.

The latest release (1.2) is still being heavily tested and shouldn't be used on a production site. I should have made use of the 'development snapshots' rather than 'official releases'.

Example screenshots: here, here and here.

Initially funded by obslogic.

Quick summary of bugs still to fix:

  • Doesn't cope with no types of nodereference types
  • Allow multi/single select (easy!)
  • Replace 'table' html with style sheets code
VersionDateLinksStatus
5.x-1.22007-May-08Recommended for 5.xThis is currently the recommended release for 5.x.

Address field for CCK

USE THE 2.1 VERSION. You must re-save all CCK field settings where you've used this module. This module makes available as a single CCK field all of the fields you'd expect for a user to enter in an address.

New additions to version 2.0 include: Custom ordering of fields, Custom naming of fields, Custom default values of fields, Turn fields on/off, Better theming.

Currently, only U.S. and Canadian addresses are supported in the default module, but a framework is in place to support adding other countries. In fact, the extension project (link below) adds support for other countries and the Canadian sub-module can be copied and adjusted easily to add support for the country you wish. Such sub-modules define a country name and two letter abbreviation, along with a list of states/provinces and validation for certain fields in the languages supported in that country. Sub-fields of the module include street1, street2, apartment/suite, city, state, zip, country and other. Validation for each field is based on the country & state/province information in the database, as well as allowed/expected characters in the official languages of the given country. In other words, Canadian zip codes validate differently from U.S. ones and Canadian text fields allow such characters as 'à' whereas U.S. fields do not.

Support was added to allow 'other' countries. This shows the country and state fields as text fields, rather than dropdowns and uses alternative validation accordingly. This is especially important now, while the module is young and there aren't any sub-modules for countries other than those listed above. Only simple text validation will be available as we won't know what to expect from the user, so site admins will have to check the addresses.

If the "activeselect" module is installed and enabled on your system, then the state/province dropdown is populated dynamically via AJAX. With 51 entries for the U.S. alone, adding other countries to the list will quickly make the list ridiculously long. Without "activeselect", you just get the long dropdown.

Added diff module support. Changing the address between revisions now renders correctly in diff view.

I've also added a feature that I needed, but for which the average user may have no use; you can now validate addresses from complete known values. One idea of this use is if you have a church website and want only church members to be able to sign up. Presumably, you would have a list of members and addresses ahead of time. So essentially, they don't so much 'sign up' as 'activate' their accounts. Same thing goes with any kind of group where sign up is physically done in the real world and web site use is a bonus/extra feature of association with that group.

See also http://drupal.org/project/cck_address_extensions for additional country support.

Contact me via my Drupal profile if you'd like to hire me to set this module up, modify it for your particular use, or other Drupal/PHP work.

VersionDateLinksStatus
5.x-2.12007-Dec-14Recommended for 5.xThis is currently the recommended release for 5.x.

ajaxeditable

This module adds the ability to edit a single element. The element needs to be surrounded by a DIV with the right things in it. This can be achieved by using something like contemplates,
You will need something like this:

<div class=ajaxeditable nid=<?php print $node->nid?> field="field_[name of your field]">........</div>

More entertainingly, you can install editablefields, and then all the nice views you build with that will magically be editable using ajax....

VersionDateLinksStatus
5.x-1.x-dev2008-Mar-05Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

Annotation Field

Want to highlight text, clip a video, or select a section of an image? This module is CCK nodereference on steroids. Annotation Field references not just a node, but a specific revision, field, and intra-field information (like a portion of text).

AnnotationField, itself, is the framework for Annotator field modules to annotate specific field types. Included in this module are three sub-modules:

  • /videoannotation (currently clips youtube videos with the emfield module)
  • /imageannotation (currently allows box selection of images from the image module)
  • /textannotation (currently works on the Body field of a node and CCK text fields)

This is still in development and unstable, but feedback and use cases are welcome.

TODO

  • better UI
  • Panels view for annotation list on an asset
  • Panels view for opening an annotation ajax-style
  • embeddable annotations in wysiwyg
  • support multiple annotations
  • support annotations on multi-item fields
  • tons more

This work is sponsored by the Columbia University Center for New Media Teaching and Learning (CCNMTL)

VersionDateLinksStatus
5.x-1.x-dev2008-Apr-30Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

ASIN Field

Provides a simple Amazon product field type for CCK. Enter an ASIN or ISBN number, and the product data will appear in the node output. Requires the Amazon Tools module, and uses that module to provide Views integration.

VersionDateLinksStatus
5.x-1.42007-Oct-09Recommended for 5.xThis is currently the recommended release for 5.x.

Assetfield

Asset field is used as the back end for the Asset Manager module.

Our end goal is to have it be a generic asset handling CCK-field that can easily format various file types as appropriate.

Autonode CCK widget

Autonode is a CCK widget that allows you to use any table in your database as a reference to create and refer nodes. The field asks for a key, which is looked up in the reference table you set up.

VersionDateLinksStatus
5.x-1.x-dev2008-Mar-17Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

Brazilian IDs

Like US Social Security numbers, Brazil has its own national ID numbers: CPF and CNPJ. You can add them into your profile or use them with CCK.

************************

Coloque campos de CPF e CNPJ tanto no perfil de seus visitantes como em qualquer conteúdo usando o CCK. Ele valida os números e ainda formata.

VersionDateLinksStatus
5.x-1.22008-Jan-24Recommended for 5.xThis is currently the recommended release for 5.x.

CCK Address Extensions

These are extensions to the CCK_Address module which add support for other countries. These have not been produced by the author of CCK_Address, but have been submitted to him by their respective authors.

Authors are encouraged to gain CVS access so that they can maintain their code here without requiring assistance.

Contact me via my Drupal profile if you'd like to hire me to set this module up, modify it for your particular use, or other Drupal/PHP work.

VersionDateLinksStatus
5.x-1.62007-Dec-04Recommended for 5.xThis is currently the recommended release for 5.x.

CCK Blocks

Adds a block for every CCK field you created, allowing to show the field value of the currently shown node in the block (placed left, right or in whatever region) instead of (or next to) the node's main content area. Kind of a simpel panel variation. Your client can add node-related block-content right from the node's editting page.

Note: Since version 5.x-1.2 and 6.x-1.1 the module does not hide the field in the node's content area anymore. You can do that for yourself in the CCK display settings. This allows you to show the field both in the node's content area ánd in the CCK block.

VersionDateLinksStatus
6.x-1.12008-Mar-13Recommended for 6.xThis is currently the recommended release for 6.x.
5.x-1.22008-Mar-13Recommended for 5.xThis is currently the recommended release for 5.x.

CCK Button

A CCK field that simply displays a button. It features some default code written in jQuery.

VersionDateLinksStatus
5.x-1.x-dev2007-Jun-20Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

CCK comment reference

Shortest description ever: defines a cck field type for referencing a comment.

VersionDateLinksStatus
6.x-1.02008-Apr-27Recommended for 6.xThis is currently the recommended release for 6.x.
5.x-1.02008-Mar-31Recommended for 5.xThis is currently the recommended release for 5.x.

CCK Currency

The module provides a drop down CCK field which has all currencies provided by Currency module.

If you want to have a numeric field for money value plus a drop down field for currency then you might need to take a look at Wim Leer's Money module.

Project created by OpenCraft.

VersionDateLinksStatus
5.x-1.02008-Jan-27Recommended for 5.xThis is currently the recommended release for 5.x.
4.7.x-1.12008-Jan-02Recommended for 4.7.xThis is currently the recommended release for 4.7.x.

CCK Download Dropdown

This module adds the ability to place a single drop down selector and download button on a node. The drop down list is populated by links to attachments from a node that you specify. Selecting an attachment and pressing the download button will initiate a download of the selected file. Although multiple drop downs in a single field are not supported, you can add multiple fields, each with a drop down populated by different files. In this way you can link to as many nodes' files as you wish without taking up a lot of screen space.

USE CASE EXAMPLE: If you have categories of files and want to show them all on one page without a huge list like you get with the standard upload module, you can create a node for each category, use the upload module to attach those files, then use this module to create a field for each node you have created.

*************************************************************************************
IMPORTANT!!! - You need to supply an icon, call it disk.png, and place it in this
module's folder. The one I use wasn't GPL-compatible so could not be included in this
release. The one I use looks like a floopy disk, but you could use anything.
*************************************************************************************

VersionDateLinksStatus
5.x-1.02007-Dec-14Recommended for 5.xThis is currently the recommended release for 5.x.

CCK Edit Button

Provides an 'Edit Button' CCK field, allowing the content-type designer to add a javascript-enabled button to the CCK field set, active when the node is being edited, but hidden when the node is being viewed.

I wrote this module as part of a Kosada Inc development project. We're using this for an Appointment-Invoice content type --- the user fills in CCK fields for the appointment begin and end time, and then presses the "Calculate Billing Information" button (created with this module) whose Javascript code --- depending on the duration, time-of-day, and other factors --- calculates the number of billed hours, the rate, and the total amount, and fills in other CCK fields with this information. We chose to do it this way instead of using a "computed field", so that the user could tweak the computed values when necessary.

VersionDateLinksStatus
5.x-0.92008-Mar-16Recommended for 5.xThis is currently the recommended release for 5.x.

CCK Extras

CCK Extras is intended to demonstrate a variety of "novelty formatters" and "novelty widgets" for editing and displaying assorted CCK fields. While the code for these widgets and formatters works, they're intended more as demonstrations and starting points than production code. Extras include:

  • Link Redirection Formatter: A horrible hack that turns a CCK link field into a HTTP redirect. For link directory sites, that means users don't have to view the node, THEN click through to view the linked site. This is also dangerous, because using it without thinking can turn your entire site into a giant redirect.
  • Link As Screenshot: Uses the WebSnappr service to display CCK Link fields as screenshots of the site, rather than textual links. For simple link archives, it eliminates the need to manually snap and upload screenshots.
  • Text as Textarea: Display a CCK text field as a form element, with selectable, copyable text. Useful for displaying bits of text users will want to copy into another window, like CSS snippets or YouTube embed codes.
  • AudioField as flash player: render Audio Fields as embedded flash players, rather than textual links.
VersionDateLinksStatus
5.x-1.x-dev2007-Nov-23Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

CCK Facets

CCK Facets is a bundle of modules that integrate with Faceted Search to expose Content Construction Kit (CCK) fields as facets. This allows users to browse field values and to filter search results with those values.

VersionDateLinksStatus
5.x-1.0-beta12008-Apr-23Recommended for 5.xThis is currently the recommended release for 5.x.

CCK Field Permissions

This module has been rewritten from scratch and is now distributed with the Drupal6 version of CCK as content_permissions module. I extended the functionality so that Views respects the specified permissions.

If someone wants to maintain this module for D5, feel free to send me email and I will assign the project to you. My work here has come to happy conclusion.
-moshe

This module allows admins to restrict access to specific CCK node type fields to by user roles. This is useful if you have a content type that you want to allow some classes of users greater use of- for example, a CCK node may have a field for a link to an external website. Using this module you can allow only registered users to have access to that field to create, update, and now view.

Note: that when you enable this module for a specific field, you must grant view access for users- when you enable it, it strips view access for all users except the root user. If you disable this module, all access is returned to normal.

CCK Field Permissions does not use node_access so it will not interfere with other access control modules.

VersionDateLinksStatus
5.x-1.102007-May-10Recommended for 5.xThis is currently the recommended release for 5.x.
4.7.x-1.12007-Jan-17Recommended for 4.7.xThis is currently the recommended release for 4.7.x.

CCK Field Privacy

This module adds little padlock icons to right of field labels in node/#/edit forms. These padlocks enable users with access to control who can see those fields on the node/# view page. (e.g. everyone, buddies only, nobody)

Dependencies:

Can be extended to work with the User Relationships (user_relationships.module) so that individual relationship types are also options.

Sponsored by Punim.com.
Developed by Bryan O'Shea and Mike Smullin.

VersionDateLinksStatus
5.x-1.12008-Mar-12Recommended for 5.xThis is currently the recommended release for 5.x.

CCK Fieldgroup Table

This module will allow you to display fieldgroups as tables. Any multiple value fields inside specified fieldgroups will be integrated into a table at the top of the fieldgroup.

This module is currently alpha. Things are subject to change.

VersionDateLinksStatus
5.x-1.x-dev2007-Jun-19Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

CCK Fieldgroup Tabs

Display CCK fieldgroups in tabs. Enables splitting up content onto tabs in both editing and display.

Requires Tabs module as well as Content and Fieldgroup modules, part of CCK. For Drupal 5.x, Tabs module is part of Javascript Tools. For Drupal 6.x, Tabs is a separate module.

To use, install and enable the module, then navigate to content type administration at Administer » Content management » Content types. Create one or more fieldgroups for a content type and assign fields to the fieldgroup or use existing fieldgroups.

Each fieldgroup can be displayed on a tab. (It really only makes sense to do so for more than one, since a single tab serves no purpose.)

To get fieldgroups to display on tabs on content editing forms, select "tabs" as the "style" when configuring a fieldgroup under "Manage fields" for the content type in question.

To get fieldgroups to display on tabs when content is viewed, select "Display fields" and select "tabs" as the display style for the groups (e.g., under Teaser or Full).

VersionDateLinksStatus
6.x-1.x-dev2008-May-03Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
5.x-1.x-dev2008-May-01Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

CCK Flashcard

A CCK field that offers textfields or textareas for "Front" and "Back" (like the sides of a flashcard). Upon display the front and back can be toggled. Useful for testing your memory on things.

VersionDateLinksStatus
5.x-1.02007-Jul-08Recommended for 5.xThis is currently the recommended release for 5.x.

CCK Freetagger

This module creates a free tagging field from any CCK field that can contain a comma separated string value.

Instructions:
1) Create a view* or some other means of searching via a path argument.
2) Configure freetagger. Give it a path with a replacement token %, which will be used to search.
3) Create a CCK type and a text field. Check freetagging for the text field and be sure to select "Filtered Text" so that freetagger can output links.

When users make a comma separated list in the target field, it will be turned into a set of links to searches.

* This module recommends using views to create the target path, with a "Taxonomy: Term Name" argument for the term argument.

This module requires both CCK and taxonomy modules.

VersionDateLinksStatus
4.7.x-1.x-dev2007-Feb-12Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

CCK groups

CCK groups provides a minimal set of groups functionality using CCK features.

Emphasis on minimal approach, anyone wanting a full groups solution should use Organic Groups (og) instead.

Example Use:

Limit access to a Case Tracker project and its cases to selected individuals.

VersionDateLinksStatus
5.x-1.x-dev2008-Apr-25Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

CCK IP Address

CCK IP Address adds fields, widgets and validation for IP addresses and address ranges to CCK.

You can use this module to add an IP address or an IP range to your node.
You can configure the form to reject private IPs.
You can restrict IP ranges with a CIDR prefix.

This module was developed by The Public Library of Science.

TODO:
Add a widget for IP address + CIDR prefix.
Add CIDR range and Required '*'s to edit form if appropriate.

VersionDateLinksStatus
5.x-1.x-dev2007-Sep-11Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

CCK Latitude Longitude

This module provides a CCK field for Latitude/Longitude. It stores the values in a fairly naive/simple manner as mere decimal numbers. It provides basic views integration to show the values as numbers. A more full featured solution is the CCK Geographical Well Known Text field provided by the Geo Module.

VersionDateLinksStatus
5.x-1.x-dev2008-Apr-16Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

CCK Multimage

This is a complete rewrite of CCK Slideshow, with the same idea, except instead of switching pictures automatically, the user must click on the picture to scroll. CCK Slideshow was not cross browser compatible. Multimage is very easy to theme, with a varying amount of CSS output.

If you're interested in maintaining bug fixes for this module, please contact me.

VersionDateLinksStatus
5.x-1.12007-Aug-18Recommended for 5.xThis is currently the recommended release for 5.x.

CCK Redirection

This module provides a CCK field for redirecting a user to a new URI. The creator of a node specifies a valid URI in the CCK field, and when a user visits that node, he will be redirected to the destination specified in that field.

VersionDateLinksStatus
5.x-1.02007-Aug-02Recommended for 5.xThis is currently the recommended release for 5.x.

CCK Table Field

This module adds a CCK table field type that lets you add a table display to any content type without having to manually enter HTML. It currently parses text data to form the header and row content, but the goal is to accomplish the data entry using a custom form widget. The output is generated by the theme system, so you don't have to worry about forming valid HTML or adding all those little classes yourself.

VersionDateLinksStatus
5.x-1.x-dev2008-May-03Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
 
 

Drupal is a registered trademark of Dries Buytaert.