The Content Construction Kit (CCK) module allows to add custom fields to nodes.

learn more… | top users | synonyms

0
votes
1answer
13 views

CCK fields disappears

I get informed that webforms didn't work anymore. I switched recently to a new server copying database and druapl installation folder to the new server. What happens is that when webforms using, the ...
0
votes
1answer
20 views

Add class on cck image field(img tag)

I want to add a class on cck image field output img tag, not on field wrapper div. How can i do it?
0
votes
0answers
14 views

CCK for 7.26 Media_Webcam module reports missing

I am trying to install module media_webcam but it tells me content and filefield modules are required and missing. But I installed latest CCK which is the content module and it contains content ...
0
votes
1answer
29 views

multiselect cck field cannot hold more than 1 values? i want to save multiple values to save in databse? IS IT POSSIBLE? [closed]

I want to save multiple values in drupal. Is it possible? using multiselect module..
0
votes
1answer
52 views

Why is hook_form_alter() not setting default values in _after_build function on /node/add/myct in D6?

I've got a validation form (id="mymodule-myct-verify-form") that retrieves data from temp_node to populate it's hidden fields. On submit, the form sends its data to /node/add/myct. (currently via ...
0
votes
1answer
26 views

Template naming /style questions

Good Morning, I'm using a custom template for an area where members are logged in. I would like to have a specific template for all pages of the Member content type. I've been able to do this with ...
0
votes
2answers
59 views

Validate a group of fields so that form can only be submitted if 0 or 2+ fields have been completed

In Drupal 7 I need to validate several cck fields so that the node can only be saved if 0 or two or more fields have been completed. So if only one of the fields is completed validation would fail ...
0
votes
1answer
122 views

How to create content type programmatically with fields and vertical tabs

I'm creating a module using Drupal7.26 and want to create content type with different type of fields like radio/checkboxes/drupdown and textfields. I'm following the last comment by Jason Gray in THIS ...
0
votes
0answers
9 views

Hide Coupon Code untill offer is clicked?

How could I accomplish this? I want users to first click on the offer before they are able to see the couponcode in question? Is there a way to make this somewhat automated, without the need of ...
0
votes
1answer
44 views

What is Content Construction Kit (CCK) in Drupal [closed]

What is Content Construction Kit (CCK) in Drupal and what is the purpose of CCK?
0
votes
1answer
57 views

Content type export broken in PHP 5.4

I am trying to upgrade my server from PHP 5.3 to 5.4. When accessing the Content Type export form in CCK with D6 the form does not display. This issue is on first display of the form, not just on ...
0
votes
0answers
8 views

Node Add/Update CCK Fields [duplicate]

I have a few CCK fields - main of which is Address Field. I am having difficulty adding/updating these fields. I have tried a bunch of different ways of adding including: ...
0
votes
1answer
39 views

Where is the CCK autocomplete widget field php configuration code stored?

I have run myself into a serious problem. I have a custom CCK datatype in Drupal6 in combination with an autocomplete widget on a text field. I have defined php code in the web configuration for the ...
0
votes
0answers
23 views

hook_node_view() creates extra content, but shows only after frequent cache clear

I have create a custom content type, and wanted to add link on the bottom of each node of that content type. So I used "hook_node_view" for creating extra content. The content created by ...
0
votes
1answer
61 views

Custom content type which is a check list

I am trying to build a new project in which i as admin can easily add or edit a checklist which is used for tracking a days job which i want any registered user to fill out . This is possible either ...
0
votes
1answer
45 views

Multigroup field in view only showing single delta

How are CCK multi groups handled in a view? Because when I select the fields for the views, they come with a "delta" field: The delta fields are always empty, so it doesn't work out of the box. The ...
0
votes
2answers
30 views

Creation of checklist by content editor?

I want to create a functionality which allows content editor to edit or add checklist(in a tabular format with mulitple checkboxes) in a drupal 7 website . How can I achieve this ? This picture ...
0
votes
0answers
43 views

How to display Views-driven list of child terms on parent term taxonomy page, using Viewfield?

I have a few custom fields on my Taxonomy Term page display, including a Viewfield. That Viewfied's intent is to display that term's child terms. For example, I have a vocabulary called "Products" and ...
0
votes
0answers
27 views

Views import after Drupal 6 > 7 upgrade

I have been given the enviable task of upgrading a very poorly written drupal 6 site into Drupal 7. So far I've managed to complete the upgrade and used the CCK module's migrate function to bring all ...
1
vote
1answer
47 views

Upgrading complex content types from D6 to D7

I have a Drupal V6 website with some complex content types that I have created using CCK and Contemplate. That is, the content types have fields of type Text, Integer, Link, Node Reference and so on. ...
0
votes
0answers
34 views

Looking for a share/fraction field

Following use-case: An airplane is bought by an (organic) group. Each member has its own share which is dependent on the amount of money chipped in. All group members together own the plane 100%. ...
4
votes
1answer
111 views

How to validate the headers of a csv uploaded with cck filefield?

I need my users to upload a csv, using a cck filefield. I then wish to confirm they have the correct order of columns. My research led me to believe that writing a custom validator for the filefield, ...
0
votes
2answers
216 views

Ajax not working with existing field in hook_form_alter

If I add new select field and define ajax, all works fine. Whereas if I attach #ajax to the existing select field it just does not work. (I can see ajax loader spining for a while and that is all.) ...
0
votes
2answers
58 views

How can I print render just location city in teaser view

Drupal 7 I am attempting to print just the city value within the location array. I have created a content type with location and created a custom node template node--content.tpl.php. Inside of my if ...
0
votes
0answers
40 views

Calender module not working with cck date field

I have installed calendar module and create a view with display style calender. I want to display the contents in calender on the basis of a cck date field. I have created a view and added cck field ...
0
votes
3answers
314 views

Redirect node page after form submit

I'm using Drupal seven. When i'm adding the content to particular cck, after click on save button, page should redirect to particular page.Suggest me is there any module for this requirement.
1
vote
1answer
157 views

Dependent drop down lists options load dynamically when onchage the fist select box values

I'm using Drupal seven. I want to make the options in a select list be dependent on the value chosen in another select list in a form. For example : My first select box is "category" and second ...
0
votes
0answers
127 views

Body fields gone on all pages after upgrade to Organic Groups 7.x-2.3

I'm having a big issue where the body content from all of the pages of my site -- even those that have nothing to do with Organic Groups -- has vanished since I upgraded to OG 7.x-2.3. I've searched ...
1
vote
1answer
23 views

Reasonable use of Custom Content Types?

Should I be paranoid about creating new content types or should I create them for each new content type I come across. My particular scenario is having several distinct blogs on my site. Kitchen ...
1
vote
0answers
24 views

How to? Partial string stored with CCK text field, end users enter the full string in a views exposed filter

I could really do with some pointers... My scenario is as follows. I have a CCK content type called Part. It has a field called chassis, set to accept unlimited values. Each part will fit all ...
1
vote
2answers
108 views

how to add a serial number column in a view?

I created a view in drupal and needs some serial numbering as the first column which is not there in the content type on which I created the view. My question is how to add that serial number field in ...
1
vote
1answer
127 views

Specific number of values in field setting per role

Is there any way to limit user input a field with 1 value in select list, but make it unlimited for admin? Thank you all!
0
votes
1answer
101 views

Change language for date cck field of a webform in drupal7?

Can we change language for date cck field of a webform in drupal7? If I create a component of date type in webform then drupal provides a dropdown having month,day and year values in English e.g. Jan ...
0
votes
1answer
106 views

node_load is not working

I am creating a import script, which is importing node into Drupal website from external database. Node is inserting properly. I have added condition that node exist into Drupal website or not and I ...
0
votes
0answers
23 views

How to Migrate new data using CCK migrate module?

I am migrating a d6 to d7 using CCK field migration. In /admin/structure/content_migrate all my fields are showing as "converted fields". and all the data's of those fields has been migrated ...
0
votes
0answers
26 views

Drupal 6 Module which can approve the content to next level

I am in search of a drupal module for inventory management. A user can request a product available in the inventory. On submitting this request, a moderator receives an email stating a new ...
2
votes
2answers
42 views

Migrate content of cck fields from drupal 5 to 7

I need to transfer the content of a specific content type with bunch of textfield cck's to new D7 website, the thing is I found lots of ways to do such thing over the internet, I want to know what's ...
0
votes
0answers
58 views

How to populate a cck text fields with values from url?

I want to populate some cck fields based on the nid passed from url. I tried form alter but no success. function custom_form_alter(&$form, &$form_state, $form_id) { if($form_id == ...
0
votes
0answers
60 views

Multiple select or other field not working

In Drupal 6 website, I have installed Select or other module. I have added two fields as 'select (or other) checkboxes/ radio button' widget type. First field is working fine, but I am selecting ...
0
votes
1answer
95 views

get rid of decimal scale of stock field in commerce

product shows stock as 1.00 -> how do i get it to show 1 (i get this to work in admin lists : admin/commerce/product but when showing in start screen or product detail page its 1.00.. how can I get ...
1
vote
0answers
41 views

simplenews sent newsletter to all user not subscribing categroies with taxonomy

I used a simplenews module to send user news, in user registeration I add field in user registeration refer to a A vocab ( list of some favorites)(as a name field_favourites) and user can select his ...
0
votes
0answers
34 views

Can't see custom CCK field in view

I created a content type a while ago, and a view to filter it. I just added a field to that content type. When I try to add a filter to the view, the field that I just created isn't in the list. If ...
0
votes
1answer
127 views

PHP Select options in CCK field

I want to create a CCK field with options determined by PHP. On the content admin page, in the Allowed Values PHP code the example it gave was return array( value_1 => label_1, value_2 => ...
2
votes
2answers
840 views

add value to cck select list using hook_form_alter

I have a cck list(text) field. Widget: select I already have data in the database and I want to add a few more options to the select list. I've tried using hook_form_alter but I can't seem to change ...
1
vote
1answer
198 views

Update field value after save a node

My content type has a field call tracking code, I have granted permission for users are able to create content. When they create content, they cannot see tracking code field but after they submit the ...
0
votes
0answers
33 views

Tablefield getting slower with additional number of rows

I have a table field with three columns. Two of the columns are used to the accept the elements and third column is used to the set the sum of the two columns. I calculate the sum using my custom ...
1
vote
1answer
66 views

How to include cck field image in Forward module template (forward.tpl.php)

I'm using the Forward module and need help adding a custom field into the forward.tpl.php template. I've found a similar thread on d.o: https://drupal.org/node/2078479 However, this is for using ...
0
votes
1answer
42 views

Is it possible to make a particular column in a tablefield readonly?

Since in my case I have three columns A, B and C. A and B holds a data and C stores the summation of those data. I wrote a custom javascript to do that and also tried to make column C readonly through ...
1
vote
1answer
38 views

append values to drupal7 cck link field entry

I've got a question about the CCK link field. I'm using the link field as a way to get a youtube video embedded onto a page and displayed through colorbox, but in order to make it work I have to ...
0
votes
1answer
87 views

Why does the default image for an image CCK field not show in a view?

I have a File/Image CCK field with a default image set and the Use default image checkbox is checked. I am rendering this field in a view- but the default image does not show for nodes where an image ...