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

learn more… | top users | synonyms

1
vote
2answers
73 views

How to override formatting for a CCK field?

I have a CCK field called "stock". I dont want visitors of the website to see the value of "stock". I want them to see either "In Stock" if the value is more than 0, or out of stock if the value is ...
0
votes
0answers
11 views

Why are permissions hijacked by Features module?

Trying to understand what exactly I have done here. I have made a Feature to export CCK config. I added CCK: content to it for a bunch of content types, and so it contains auto-detected dependencies ...
1
vote
1answer
25 views

Content type creation with table of fields

I want to be able to create a content type with a number of fields (naturally). One section of the content type needs to be like the attached image with the ability to: - group items together (e.g. ...
0
votes
1answer
8 views

Quick question: horizontal align taxonomy @ node/add?

When adding a node (node/add/article), all the fields are showing up. With module "field group" i can alter the vertical presentation to an editor. In fact, the editor sees (for example) ...
0
votes
1answer
15 views

field_image_cache missing from all content types

I've had a strange thing happen to a Drupal 6 site. All images are missing from the site. Looking at the Edit screen for a node shows that the ability to edit and upload an image for any node is ...
0
votes
0answers
18 views

add fields to a node mapped to date input.The fields value should be mapped to date value

I want to add fields to the a content type. The user should be able input text values that are mapped to a particular date. Ex: for july 1, a particular field can have a value of 145, for july 13 ...
0
votes
0answers
4 views

Update Drupal 6 CCK fields through another tool

I am looking to update the fields of Drupal 6 CCK through a mini panel where some certain users can only change their information. I am choosing to update out to be an area that customers already ...
0
votes
1answer
76 views

How can I overwrite uploaded file via Filefield?

By default in Drupal 7, if I upload image.jpg via a file field in my node, save the node and then edit that same node and re-upload image.jpg, it will name it image_0.jpg. I want to replace the image ...
1
vote
1answer
16 views

How to call CCK as block?

Actually I created user's request mail form as CCK.This CCK displayed page name as node/add/laptoprepair.I want to display this CCK page as Block for the purpose of calling multiple page.How to create ...
0
votes
1answer
15 views

Main menu not showing on cck type content items

I have that annoying issue with my main menu not showing on nodes of one specific cck content type. The menu shows everywhere else and is set to do so in the block settings by using the Menu Block ...
0
votes
0answers
15 views

Moving from Drupal 6 to 7 - trailing slashes and content views

I have a site which I need to move from Drupal 6 to Drupal 7. I heard that Drupal 7 doesn't support trailing slashes (URLs like http://example.com/folder/) I also heard that to move the content I'll ...
0
votes
0answers
19 views

term references field not loading terms in node edit form

In latest D7, I have a field which holds term references. In a cck content item, I can see the label of the field, but not the term options - they're just not loading (neither in checkbox, select or ...
0
votes
0answers
10 views

Additional filter for (image)fields to filter node display

I need to display nodes on multiple places. For some fields I have multi values. On every place I'd like to display other values of the field. I'd like to have maybe some checkboxes as filter. For ...
0
votes
0answers
16 views

create automatic job id to show user for every node creation?

I have to create one content type. Content type name as JOB. I want to show JOB ID for every node submission page. If user want to save new job order means JOB ID automatically generate and show to ...
0
votes
0answers
11 views

Where to look in D7 if virtual tabs in cck edit form do not appear?

I'm having some problem with my D7 installation - I've migrated from D6 on this. Thing is, when I create content of a CCK type, some of the vertical tabs on the bottom of the form are not available ...
0
votes
1answer
119 views

Create a rule to send confirmation email message after anonymous/authenticated user has created content

I have created a custom content type (CCK) called apply (machine name) and installed the Rules module. How would I go about sending the user an email (they could be anonymous or authenticated) after ...
0
votes
0answers
21 views

D7 batch processes not running

I am running the cck content migrate module and I disabled all non-core modules, set the theme on garland and when I try to migrate a field that is able to be migrated, it goes to a batch processing ...
0
votes
2answers
59 views

D8: Best practice: Linking content types

I would appreciate suggestion for this common scenario in Drupal 8, which may be different to how I do it in Drupal 6. I don't want to do any programming. I have two content types: (1) Articles ...
0
votes
0answers
30 views

Drupal migrating cck int_phone field (6 to 7)

I'm trying to migrate the phone field type ('int_phone') that are in CCK fields from drupal6 to drupal 7 using the CCK migrate tool but I continuously get this error, Error creating field ...
0
votes
1answer
51 views

File browse CCK field

Is there a CCK field where I can add a link to a file, not an upload but something that will save the link as a URI.
0
votes
0answers
11 views

How can I filter dropdown based on prior entry [duplicate]

WHen creating a content type, I want the values of a dropdown to depend on the value of a prior dropdown. The dropdowns are taxonomy. I can do this in code but would like to do it with drupal ...
0
votes
0answers
23 views

Is there a jQuery container selector for CCK fields?

I'm using a Drupal module called FitVids, which makes iframe videos and images responsive. But i'm also using the YouTube Field module and the fitvids module is distorting the YouTube Field module's ...
0
votes
1answer
13 views

After drupal 6> 7 upgrade attached pdf links not visible

After upgrade fromn 6 > 7 attachment information is not visible in nodes. Data exists in dbase. What is best approach to re-connecting pdf, mp3 and other attachments to specific nodes. (2000 or so) ...
0
votes
1answer
101 views

CCK Date field not showing stored values in node edit form

After moving a Drupal 6.x site to a new server, I've found that a CCK date field being used by multiple content types is not displaying the values that are stored in the database for the field OR the ...
1
vote
1answer
118 views

What properties does a custom cck_phone form field need to work?

I am struggling to get a working custom implementation of a cck_phone field from the cck_phone module. I have included my partially working code at the bottom. What seems to be not working is that ...
0
votes
0answers
72 views

Image field not supporting bmp images

Why is the image field in Drupal 7 CCK not supporting a bmp file extension? When I add this format in the field "Allowed file extensions" list, it saves, but never show it in the form and does not let ...
0
votes
1answer
30 views

How to get a text field with each radio input in cck

I want to have a text field input in front of every radio input so, that when a user selects a radio input the appropreate textfield will appear infront of every radio input in node/add
1
vote
1answer
40 views

How to set different default images in an image field per domain?

I'm working on a set of similar websites (promoting products of different regions) separated by Domain Access module. I'd like to set different default image in an image field in each site. Is it ...
0
votes
1answer
88 views

Error: include_once(): Failed opening './includes/unicode.entities.inc'

I am working on a D6 site and I have created some fields programatically, and it looked like it worked fine (code below). The fields show up in the database and on the UI screen. However, I found that ...
0
votes
1answer
20 views

How to delete a cck field base in Drupal 6

I have programatically created some cck fields with this function: content_field_instance_create($field) and I tried to delete them with this: content_field_instance_delete($field_name, 'product', ...
0
votes
2answers
102 views

Conditional display of CCK field for certain profiles values

I have created a content type with CCK on Drupal 7, and I would like to display only a few fields according to certain values in their profile2 type. Concretely, I have a profile2 field to specify if ...
0
votes
0answers
19 views

Trouble creating ckk fields programatically

I have followed this tutorial http://www.calebthorne.com/module-development/2013/Jul/create-cck-field-programatically-drupal-6 to create a ckk fields programatically. (I also did a printout of ...
0
votes
1answer
149 views

Apachesolr searching is not working with cck field

I am working in Drupal 6 website with apachesolr. I have added a cck field (text field) in a content type. When I am searching the value of textfield, apachesolr showing empty result. The field is ...
0
votes
0answers
7 views

Is there a CCK field or 3rd part library that can add autocomplete to Text Field CCK and displays Item Types from Schema.org?

there are 2 projects responsible for constructing Micro Data for a Web Site in Drupal : Microdata - https://drupal.org/project/microdata SchemaOrg - https://drupal.org/project/schemaorg I tested ...
0
votes
0answers
53 views

Keeping three cck text multi-value fields and a three-level taxonomy hierarchy in sync

CCK and Taxonomy fields offer different advantages and, in some situations, it is necessary to utilize both. Especially if a developer is using Views and Rules. One of the bigger challenges a ...
0
votes
0answers
58 views

Download all files from node(Drupal 7)

Im created one cck to submit user information, in this cck one field providing to upload the multiple files, it is working fine. After created one view page to display the submitted information in ...
0
votes
1answer
309 views

How to enable Rich text editor for content types

I have installed Ckeditor module and configured it to work with advanced editing options. But couldn't get rich text editor. I even tried all options in content authoring I din't get any solution. ...
0
votes
0answers
16 views

Rule that fires on CCK field changes

I am about to allow certain users to add new values to a few CCK list (text) fields, and (in the beginning at least) I need to be notified automatically when these fields are edited, particularly when ...
0
votes
1answer
28 views

How to see #default_values in multiselect form

I've done a custom form that is a multiselect type form. When I edit the node, the options that were previously selected are not shown in the selected options part. This is the code that I've done: ...
0
votes
1answer
57 views

Problem with multiselect module

I've installed the multiselect module, to add this option in a custom form. The problem is that when I see the options, it shows this: Does anybody know if there is a way to solve this? This is ...
0
votes
1answer
157 views

Use tokens for cck field default value

Is there any module or code hack to use tokens to set cck field default values ? i have a content type with contact details fieldset, this fieldset have some fields to collect data from current logged ...
0
votes
0answers
51 views

Drupal 6 readonly field

I have created a cck field and made it's attribute to 'readonly' through form alter. I also want to make sure that the user won't change it's value by editing through firebug or by any other means, ...
0
votes
1answer
75 views

How to show comments for an unpublished node

this is my problem, A node is in unpublished state The "View own unpublished content" permission is set The node author posted a comment on the node, but the comment is not getting rendered in the ...
0
votes
0answers
34 views

How to find the source file for debugging node edit page?

I have og forum discussion nodes that display field values differently from other nodes when in edit mode/view. We added a field on all types of nodes that is an array of tags, and in edit mode there ...
7
votes
7answers
2k views

How can I remove items from the allowed values list of a select field that has data for the values?

I've created a content type that has a list / select option field, and I've entered the key|value pairs as necessary for the select list to function. Data has been entred, and it's been decided that ...
0
votes
1answer
27 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
85 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
1answer
106 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
214 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
29 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 ...