Questions tagged [cck]

The Content Construction Kit is a Drupal module that allows users to add custom fields to content types.

The Content Construction Kit (CCK) is a collection of Drupal modules that can be used to create content types whose nodes follow a defined structure beyond that of a title and a body.

The CCK provides field types and widgets. The user (usually an administrator or developer) adds a field to a content type by selecting a field type, a widget and a name for the field. When a user creates a node of that content type, the widget is displayed and the user can enter data into it according to the field type. This data is saved together with the node that gets created and displayed when the node is displayed.

The CCK provides field types for (amongst others) text, numbers, nodes, users. Widgets for (amongst others) line input, text areas, select lists, radio buttons, checkboxes are available. Additional field types and widgets can be created by developers and some are available as extension modules on drupal.org.

CCK fields are automatically exposed to the Views module.

502 questions
0
votes
0 answers

Not able to insert select list value for CCK field, while creating node programmatically from a from

I am creating node after submission of some selected values of my custom made form. There is a CCK field in my content type called "Start Time(field_starttime)" for which I am selecting value from a select box in my form and trying to submit. But…
Rajeev Kumar
  • 74
  • 1
  • 1
  • 10
0
votes
1 answer

Drupal - How can I use CCK to keep a local node copy of Aggregator items?

Hey, I received an learning project from my brother that includes: Create a Drupal site that employs Aggregator, CCK, and Views modules in the following way: Aggregator will fetch an RSS feed from an arbitrary source Views will allow you to create…
user114518
0
votes
1 answer

Drupal DB : Have to move some data from one table to another by cheking the condition at remote server..!

I am working with a portal, where there is content type. The front end developer who made this portal added a CCK field for file attachment & there is already File attachment field given by core. Now we won't go to discuss why did he do that as I…
RajeevK
  • 263
  • 3
  • 15
0
votes
2 answers

Drupal 7 - node custom display

I've got this problem. I've created file node--mycontenttype.tpl.php to display nodes in custom way. I've listed all the $content array by print_r($content). I can display all the variables except CCK fields. For example I can print out node type…
David
  • 1,932
  • 3
  • 27
  • 35
0
votes
1 answer

Drupal 7 increase a CCK Field Label character count

I have a content type that is used as a questionnaire to ask about the users personal story. I read webform vs. content type. It seems that content type will work better for my needs. I am using the questions as the label of custom fields in my…
Nate
  • 11
  • 1
  • 4
0
votes
1 answer

Allow user to dynamically add fields and values to a node in Drupal

I'm trying to come up with a way for a user to populate a form with only the fields needed for a given piece of content. So for example I have a content type called "Research Project" and I want to add a series of measurements to each one. eg. Proj…
Pooch
  • 571
  • 5
  • 5
0
votes
1 answer

How to Populate Computed Field with node tags/terms

I'm trying to fill a computed field with the terms/tags associated with the node, along with the body. Getting the body in is fine using "$node->body" but I'm not sure how to bring in the tags? The VID for the vocab i want is "4" - so I want all VID…
0
votes
3 answers

Drupal: route nodes links to a view

Getting started with Drupal (specifically CCK and Views), so forgive me if this is a basic question. I'm have some fairly complicated Views that display some Custom Content types with an Attachment below so that I'm essentially seeing multiple…
ack
  • 14,285
  • 22
  • 55
  • 73
0
votes
2 answers

Stop a custom submit button from firing the form validation on a CCK form

I've added a submit button inside a fieldgroup on a CCK form using hook_form_alter as follows: function mymodule_form_alter(&$form, $form_state, $form_id) { if ($form_id == 'object_node_form') { $form['group_wikipedia']['search'] = array( …
hitfactory
  • 2,896
  • 5
  • 24
  • 22
0
votes
1 answer

Drupal 7 ubercart product kit of product kits

I need to create a new content type, it will be contain collection of product kit's. How can i can create a field, which would contain an existings product kits?
user1279525
  • 539
  • 1
  • 6
  • 12
0
votes
1 answer

how to configure the formatting of file upload in drupal 6

When you use the file import in drupal 6 it adds a whole lot of formatting. How do I just get is to return the path. I am printing the following. field_factsheet[0]['view'] ?>
frosty
  • 5,330
  • 18
  • 85
  • 122
0
votes
2 answers

Drupal CCK Field Level Visibility

I am using the Drupal 6 module Content Profile to allow using a CCK defined type as a user profile which is working well. The issue I have is that I want the first completion of the profile to trigger an action however the user may save the profile…
Macros
  • 7,099
  • 2
  • 39
  • 61
0
votes
2 answers

Customizing gallery layout in Drupal with Views and CCK

I am creating a gallery/albums site in Drupal 6. Perhaps the description will be a bit detailed, but still on some reason it's a problem to create a gallery in Drupal in a simple way. As for now I am using CCK + Views + FileField + ImageCache +…
AlexA
  • 4,028
  • 8
  • 51
  • 84
0
votes
3 answers

Drupal 6: Taxonomy splot up in managed fields?

So you have two taxonomies, namely: "Business Type" and "Location" This is assigned to a node called BUSINESS. In effect, when the user creates a BUSINESS node, her has to choose for example, location "New York" and type "Information Services". My…
Ardi Coetzee
0
votes
2 answers

Not able to add fields to my content type in Drupal 6

In my localhost drupal site I have created a content type "Scholarship". Now I need to add few more fields (checkboxes, radio etc) to it. The problem is, I cannot see "Add new fields" option anywhere on the page. When I click the "Manage Fields"…
codeinprogress
  • 3,193
  • 7
  • 43
  • 69
1 2 3
33
34