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

learn more… | top users | synonyms

0
votes
0answers
11 views

Drupal 7 CCK add form theme customization

I would like to customize the node add form of the CCK theme for these reasons: It is a very large customization job. I'd like to place my fields in my own way instead of trying to do this with css. ...
0
votes
0answers
15 views

How to provide a select list item to cck field?

Like it's possible for webform to do that with hook_webform_select_options_info(). How can I do that for a cck field in a content type ? what about an example with the hook_form_alter way ? thanks
0
votes
1answer
16 views

Problem in rendering double-field in other node

I think I have a problem with keys and values of a list field in the rendering phase (on Drupal 7). Let's me go in detail. Model part: We defined a CCK "double field" for a "profile2", with ...
0
votes
0answers
13 views

How to split and link date field to view (imdb style)

I have created content type call person (list of persons) added a date field to content type (birth_date) how to split date to year/month (or should it be two date fields) how to link year to all ...
0
votes
0answers
12 views

change cck image uploaded path in SQL

I have a cck field for an image in 50 different cck's I would like to change the file path from images/[site-date-mm]-[site-date-yy]-photos to images/photos Can this be done in sql across all of ...
0
votes
0answers
19 views

Field Collection values in json data document view

I am wondering if I am hitting the limits of what can be done with the json data document view for displaying output and whether I need to just write my own module or use php's json_encode to do this. ...
0
votes
0answers
7 views

How can I move CCK filefield content to another one?

I'm converting multiple contents types in another only one. So I use the convert module to do so.But some CCK filefield are not the same has the one used in the new content (which use existing fields ...
1
vote
0answers
8 views

How to use cck time field in rules?

I'm using a cck_time field (field_check_in) in my content type. I want create a notify when this field is changed but when I try to set Data comparition in Rules Conditions I not find the entity of ...
1
vote
1answer
27 views

When not given a link, use URL node

For a slideshow with banners, i've added the fields overlay-text and link-to. The link-to is the URL you go, if you click on the banner. It's al done & working in Views & Views Slideshow. The ...
0
votes
1answer
26 views

CCK field migration reproducibly results in server error on node display

I am trying to migrate my CCK types to Fields using CCK module in D7, using content_migrate, following the documentation. After migrating all fields of a certain content types, I got a server reset ...
0
votes
1answer
32 views

CCK to Fields: content_migrate says missing widgets (image, matrix), but modules enabled

I am attempting an update from D6 to D7 on a site with multiple CCK types (yes, optimist me after reading lots of horror stories), I am following the CCK migration guide and have installed the cck ...
0
votes
1answer
23 views

Long text increase maxlength

I have added a textarea and i want to store more that 1024 characters in it. Long text is the field type that i have chosen but an error comes up saying :Keywords cannot be longer than 1024 characters ...
0
votes
0answers
25 views

How to: Pre-populate field on CCK signup form

I've got an Event content type that carries an "event type" among other fields. The 'event type' is an indicator to classify the event. The event supports CCK signup. What I need to do is pass the ...
0
votes
1answer
64 views

How do I override the Bootstrap3 user registration form?

I am trying to override the default user registration form (user_register_form). I would like for the form to create a CCK node (membership_request) that is already on the system. I am able to get all ...
0
votes
0answers
44 views

Show content title in front page and full page when click

I want to add comments,post,follow to full node, it work with little sucees with view but i was unable to add comments, post, follow to full article post. I have a content type called News it will ...
1
vote
0answers
13 views

Create arrays of dates in CCK list

I want to create a list of dates in a CCK select list with PHP arrays. I don't have any luck with this, any help is appreciated. Minimum date: +4 days Maximum date: +2 months Only bussines days ...
0
votes
1answer
26 views

How drupal keeps revisions for some content types only

In Drupal 6 for some content types when editing a node its replicated and keeps revisions for that content type by keeping vid (version id) for that in the table, But for some other content types it ...
0
votes
0answers
19 views

Video clip or any aother field also not dispaly in node--product-type.tpl.php

I am using Drupal commerce kickstart. I have installed demo store also. Now I have add sample video embed field. Now i have add cck field in node--product-type.tpl.php. But not display in the ...
0
votes
0answers
11 views

How to delete custom field row? [duplicate]

I have a content type in which there is a custom file field. I need to remove the field entries because I want to delete all the uploaded files. I removed the uploaded files, but entries remain in the ...
0
votes
0answers
19 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 ...
0
votes
0answers
28 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
16 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
13 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
35 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
30 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
24 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
87 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
54 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
22 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
81 views

What is causing the replacement of my HTML tags with paragraph tags?

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
96 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
146 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
46 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
40 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
52 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
13 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, ...
1
vote
2answers
36 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
93 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 ...
1
vote
0answers
17 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
31 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
14 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) ...
1
vote
1answer
32 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 ...
1
vote
0answers
20 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 ...
1
vote
0answers
8 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
519 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 ...
1
vote
1answer
31 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
20 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 ...
1
vote
0answers
34 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 ...