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

learn more… | top users | synonyms

0
votes
0answers
13 views

How does the content_type_field.tpl.php overrides the template views?

I have a tpl page named content-field-field_p_customcode.tpl.php and the tpl page reside in drupal\sites\all\themes\sky\content-field-field_p_customcode.tpl.php . and this file have content like ...
-1
votes
0answers
14 views

How to restrict making a custom fields in Content type? [closed]

I have a content type, in that user can create only limited custom fields. Is it possible?
0
votes
0answers
15 views

How to create a view that groups nodes by month, and then display one node per month?

I am trying to create a view that does the following: Return a list of nodes of a specific content type, and then group them by month (ie. Jan 2015, Feb 2015, Mar 2015 ...). For each group, I want to ...
0
votes
1answer
13 views

D6: Adding HTML to CCK field data?

In Drupal 6, I want to customise some CCK field data with some added HTML, but am not sure of the best/easiest way to do this. I couldn't find a CCK module to do this. For example, I want to enter a ...
0
votes
0answers
11 views

how to implement ahah fields through cck module

I have add a select dropdown field in a content type form. I need to load values through an ajax call. when i do it error occurs on submit the page. says 'An illegal choice has been detected. Please ...
0
votes
1answer
29 views

Get the CCK field value using dbquery

I have a content type called user registration under this one cck field called regid. i would like to fetch the entered values of this particular field through programmatically probably by using ...
0
votes
0answers
22 views

Error when non-admin user attempts to create content

I have given authenticated users permission to create content but when linked to that page form a non-admin user, no fields are displayed and Drupal spits the following error: ...
0
votes
3answers
19 views

Module to create nodes that are lists of other nodes?

I'm looking for a way to allow users on my site create a piece of content that is a list of current content. For example a user can create a "favorite articles list" content piece and then select his ...
0
votes
2answers
33 views

Extract First Name and Last Name from the Title field in Drupal 7

In one of my content type, we are storing names in the Title field. Due to the recent requirement change we now need to sort results by last name. But since the name is stored in Title how can I ...
1
vote
1answer
39 views

Entity reference field on select show some data about entity

consider i have a customer content type with fields (name, phone, address) and i have a feed back content type with an entity referenced field to customer. When the user select the customer i want ...
0
votes
1answer
18 views

Mark deletion on custom fields

I am using mongodb as the backend for the node_save functionality and I have migrated my custom fields. So for every node save it calls the hook_field_storage_write() . Thus the data is saved in the ...
0
votes
0answers
35 views

Strange issue with node body field formatting

I have not experienced this issue before, and I'm struggling to identify the cause. Basically, the default node field 'body' is not rendering correctly - the html is being rewritten, removing most ...
0
votes
1answer
48 views

Add Location CCK field and instance programmatically to content type in Drupal 7

How does one add a Location CCK field and instance programmatically to a content type in a Drupal 7 module install? I am mainly concerned with what params need to be given to the field_create_field ...
2
votes
1answer
54 views

Entity reference Hierarchical Select between three content types?

I have three content types: Courses Sections Chapters Sections content type have Entity reference of Courses. Chapters content type have two entity reference fields as Courses and Sections. If I ...
0
votes
1answer
23 views

CCK Migrate filefield to file error

I tried using CCK Migrate and this happens and field fails to get migrated, can someone let me know how to read this kind of error: Requesting rollback of field "field_evt_mat_download" due to ...
0
votes
1answer
18 views

Drupal 6 CCK date field is saving current time when the time field is left blank

I have a node type='event' that has a "text field with date popup calendar". The date format is "05/13/2015 - 7:02pm". On the edit page, the form renders as two fields: a calendar popup text field ...
1
vote
1answer
43 views

Is there any way to clone a content type [duplicate]

My site has a lot of different content types, they all have the same fields, the only difference is the name of the content type. Is there any way to clone those content types other than create them ...
1
vote
0answers
9 views

Drupal CCK taxonomy field value lost when doing feed importing

Drupal CCK taxonomy field value lost when doing feed importing In Drupal 6, CCK lost taxonomy when doing feeds import. Have a content type "Thesis". It has a field taxonomy "Category". For example, ...
0
votes
2answers
21 views

How can I Hide in Drupal 7 the bottom blocks in Add and Edit button for my content [duplicate]

I made a new content type in Drupal 7 without problems, but now I want to hide the bottom block in the content Add and Edit fonctions This block as some url's parameters, comments parameters ...I ...
0
votes
1answer
9 views

Question about users vs cck

I need to add a field to represent a person's role on a board. I have a CCK for individuals that includes a field for their position. I now need to make some changes so that I can keep track of the ...
1
vote
2answers
87 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
13 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
29 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
11 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
24 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
6 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
298 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
17 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
24 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
18 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
24 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
1answer
14 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
24 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
14 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
290 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
27 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
69 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
38 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
67 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
14 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
35 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
17 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
141 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
123 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
111 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
38 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
52 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
141 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
29 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', ...