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
2 answers

How to access cck fields in tpl file?

I am working on one already created drupal site. In themes folder it has one tpl.php file, Where theme is done to display the content. Now it is as follows print $content And all the fields of cck are displayed properly. But I want to access every…
user1481970
0
votes
1 answer

Drupal removing a node reference from a node

Ok, trying to process a script, both PHP and JavaScript, where I am moving a particular content type NODE from one reference to another. This is the structure: I have a PROJECT Inside each PROJECT are PAGES Inside each PAGE are CALLOUTS and Inside…
Adam J
  • 506
  • 3
  • 17
0
votes
1 answer

Node reference to show only author of node

I have create two content types as Game and Video. Now in the Video I have created 1 field type as node reference that will be referring to the Game type. Now suppose I have 2 users as user1 and user2 on my site. User1 has created following…
user1481970
0
votes
1 answer

Access to only few fields of a content type for specific user

I have created one content type 'video' in which I have many fields like url,language,locations etc. I have created 1 role, Now I just want to give permissions to that particular role so that he can only add fields like url,locations. He shouldn't…
user1481970
0
votes
1 answer

can i add multiple value in field ? (please see an image)

I need to do the stock management website with 2 Content type Supplier and Product. First I add contents in Supplier content type. Then I add node reference field in Product content type and call it supplier and make it multiple value. it's looks…
0
votes
2 answers

drupal 6 - unset previously set cck field validation error messages

How can I unset previously set cck field validation error messages? Some module is setting the form validation messages, that I want to override. In my case, it's cck_phone module. Something like form_unset_error($field['field_name']) to unset the…
pMan
  • 8,808
  • 11
  • 32
  • 35
0
votes
1 answer

Drupal 7 CCK List of world languages

I need to create a signup form for translators from any country and give them option to submit the language combinations they can translate to and from. For this purpose I need a list of world languages in dropdown or multi-select widget format. I…
Monsoonpk
  • 1
  • 1
0
votes
1 answer

How to access DCIM in Xcode

My idea: syncing music without wifi or bluetooth. First I get the the files I want , then I compress them into a zip file. Then I want to rename the extension JPG, so the iPad can recognize the file. Then I copy it to my sd card, then use camera…
Shraavan97
  • 13
  • 1
  • 4
0
votes
1 answer

drupal 7 adding custom cck field in html.tpl.php head

I need to add a custom base href, I have a organic groups multisite setup. I have a field field_site_url which renders the URL correctly how would I get this to print I did this but it doesnt work base href="what do i put here" target="_blank" Any…
steve
  • 1
0
votes
1 answer

CCK fields values are not coming to the body

Drupal 6: I have a content type and it has multiple CCK fields: one user reference field, one node reference field, one taxonomy field, 4 text fields & 2 date fields. It was working just fine until yesterday, but when I create content now, not even…
Rajeev Kumar
  • 74
  • 1
  • 1
  • 10
0
votes
1 answer

Drupal searching in array

I have a CCK field in views, in which I have taxonomy terms. Different categories have different sections on the page and there are overlapping categories. I want to search through the array, find if it has a certain taxonomy value, then print html…
Gergely Csata
  • 65
  • 2
  • 11
0
votes
2 answers

using custom CCK fields in node + Drupal 6 for some reason not accessible by $node ->field_name

I have created a custom CCK field and gave proper permission to users, but for some reason I cannot access the field by using $node->field_name does anybody have Idea about this ? Thanks In advance -S
subi
  • 89
  • 7
0
votes
2 answers

Custom image field with drupal(7) views 3

I've created custom theme look for one of my fields in views, and added field field_field_services_text_link[0]['rendered']['#markup'];?>. I tried to do same with my another image field, but it doesnt works. I used…
Avdept
  • 2,261
  • 2
  • 26
  • 48
0
votes
1 answer

Changing CCK field values from view list

I have a content type Task, where we create task for ourself or user and in that there is a drop down, which contains some taxonomy terms, which show the status of task. Below this form I list the all the task for current user which shows some input…
Rajeev Kumar
  • 74
  • 1
  • 1
  • 10
0
votes
0 answers

Drupal 5 CCK fields are not being displayed in node

I have a Drupal 5.1 site. I installed cck module version cck 5.x-1.8. Then went to modules and activated all checkboxes : content, etc. Then created a new Content Type, Added a new field, text integer for age. Then went ahead and created new…