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

learn more… | top users | synonyms

0
votes
0answers
26 views

How to render-print content type fields in an article?

I am building a Drupal website and came across with an issue. I have created a content type called "comments" with 4 fields : -comment1 with machine name: **field_comment_1** - comment2 ...
0
votes
0answers
33 views

“illegal value” error on cck field

I have a select list in content profile which is having list of counties value. when i submit the user profile form, there is an error throwing like "Counties: illegal value" . I checked the Allowed ...
1
vote
1answer
27 views

How to print a CCK image field alt text in a node template?

I'm trying to add the alt text from a cck image field in a Drupal 7 node template. Getting the image style url is done, but I can't figure out how to just get the alt text. This is what I have ...
1
vote
0answers
23 views

Filtering Drupal 6 View based on multiple content types

This is a repost of the following: http://stackoverflow.com/questions/16489525/filtering-drupal-6-view-based-on-multiple-content-types I have a drupal 6 installation, and am trying to limit a view ...
0
votes
0answers
10 views

how to concatenate term name with it's parent name in select list

I have created cck field as select list and selected the taxonomy terms and displaying all taxonomy terms in the select list. Then How can I add its parent name besides it. let say ...
1
vote
0answers
13 views

Port back to d6 $instance

I have this code that I am trying to get back to d6 $field_name = variable_get('blogger_importer_node_tag_field', ''); $instance = ...
1
vote
1answer
15 views

How to add a custom widget to a node creation form Drupal 6

This may be a dumb question, but nothing I could find really told me what I was looking for. Without furthur ado: I need to add a custom widget that will edit node reference fields on CCK content ...
0
votes
1answer
19 views

How Can I change the fields order without using CCK

I want to change the order of the fields in each node. I know that I can use CCK but I would like to do this in hook_node_load Is it possible? Thx :)
0
votes
1answer
43 views

open node reference links in lightbox/ popup

I want in my node view pages, node reference links open in popup window or lightbox window. Does anyone have a solution?
1
vote
1answer
30 views

How to programmatically delete all values in custom CCK field for a given node?

I'm on Drupal 6, and I have a multiple value CCK field. I need a PHP function to delete all the values in that field so I can later repopulate it. I am currently doing this: if ...
0
votes
0answers
15 views

An invalid form control with name is not focusable. error when saving content

I've added a hidden field to the User Profile page, which I set via script. When saving the form, I get the error, An invalid form control with name='field_map_y[und][0][value]' is not focusable. ...
0
votes
1answer
19 views

How to hide some fields from user in add content page?

I have a content type with some fields created using cck module in Drupal 6 . I want user just fill in some of them in create content page and doesn't see others which will fill later by admin. How ...
0
votes
0answers
24 views

supply values to a cck text field on node edit then use those values to populate a select list

I have a d6 system that predates the webform module and has code that creates a mailed response using php and the drupal 6 cms. The outword facing form is basically is an email form. I am looking to ...
0
votes
0answers
16 views

How to put two cck fields in add content page in drupal 6

0 down vote favorite I have created a content type in Drupal 6. I want to add an input field to a number and a select(dropdown) field to get Year/months. They should be next to each other in add ...
0
votes
1answer
36 views

How to group fields with select option?

I just want to show the user to select any one of the group see the below image. I am not sure which module i have to use. Please suggest me how to do this ?
1
vote
1answer
58 views

How to print multi-value link image CCK field in template?

I have a multi-value CCK field set up using the Link Image Field module, and I need to print all of the images (linked) on the content page. I used the code below to print the images themselves, but ...
0
votes
1answer
27 views

How to add custom functionality on per-date base to nodes that use date fields for an event ticket system?

For an event ticket system I have created a node type with multiple date fields including start- and end-dates. -EVENT1- Date A Date B - Date F Date G - Event2 - Date B Date C Date E - Date G Now ...
0
votes
1answer
40 views

Drupal 6: integer field, how to output the value + a 3% up for a field, programmatically

I have a production website with a content type that has 3 integer fields. Now the website owner wants to raise those values in a 3%. Since there are hundreds of nodes for that content type, is there ...
0
votes
0answers
23 views

One content type with multiple name

I would like to duplicate one content type into multiple content types, but all those content types should be exactly the same in fact, except their names. You can thing of multiple interfaces ...
0
votes
2answers
27 views

Add a “class selection” field to content item via CCK?

I have a single content type (webform) that I want to display in two or three different styles on my site. For instance, I may want to have some of the webform's CCK fields floated to the right on one ...
0
votes
1answer
31 views

Edit tab available to anonymous user on some but not all pages?

On a Drupal 6 site that I've inherited, there is a custom content type for staff profiles. Editing should be limited to two user roles "content creator" and "careers." This has worked fine for the ...
0
votes
0answers
40 views

Display CCK field data in Add To Cart Block

I need to add a CCK field to the cart block in Drupal 6/Ubercart 2. I am using a custom node-product.tpl.php file in my Fusion sub-theme, and it contains the line... <?php print ...
-1
votes
1answer
39 views

How to select all the field in content type [closed]

How to select all the fields created in custom content type using select query. $query = new EntityFieldQuery(); $result = $query->entityCondition('entity_type', 'node', '=') // select nodes ...
1
vote
1answer
49 views

Assigning template file to a view

How to display the custom content type fiels in the custom template file. I have integrated custom content types in views. How to assign custom template files to a view which is filtered to display ...
0
votes
1answer
19 views

custom content type

I have created a custom content type (Testimonial), with the following fields: customer name, testimonial, company name. Each of them is stored in a different table. How can I use the records to ...
1
vote
1answer
69 views

Drupal 6 to 7 -> all images missing

After upgrading to drupal 7, all the pictures of the items have disappeared. In the View UI editor, i can not add an image content and it says "Contant manager: broken/missing". Help?
0
votes
1answer
65 views

How to make a table sortable by CCK field

An odd question: I have a custom column added to the default admin/content page that shows the value of a CCK field "field_foo". I'm trying to sort the table by this field. (I can't use Views for this ...
1
vote
0answers
56 views

Pre-populate node creation form based on “base” node

I have this content type "education course" where I set the title, description, evaluation type , duration and objectives(and so on). I want to create another content type "course edition" that would ...
0
votes
2answers
39 views

How do you modify the form after it validates and show's errors

I have built a form using CCK in Drupal 6. I have two fields, one which is called health plans and the other is called terms. If I select a health plan I update the terms via AJAX (both are select ...
0
votes
0answers
18 views

cck attachment download link D6

I've been handed a drupal site to modified. I'm not very good with php, but I've fixed a few things. Now they want me to change and add a new section to a node. I need to get one of the files from ...
0
votes
3answers
153 views

Remove Side Menus on certain pages in Drupal 7

I realize that this question might be the result of a fundamental misunderstanding of how things work. So I apologize in advance if this is just me being a dope. I am creating a webpage for a ...
2
votes
1answer
56 views

Find and display lowest value from one field in a node type

I have a Drupal 7 website that tracks values associated with "Content Type A". I have another content type, "Content Type B", which is a part that is associated with Content Type A. Any A item may ...
0
votes
0answers
33 views

Adding New Field to A Group is Not Saving changes - cck

I've created new fields and I'm trying to add them to an existing group. I'm able to drag the new fields into the group but when I save the fields are not retained in the group. What can be ...
1
vote
1answer
34 views

Grouping or adding classes to CCK form fields

I'm looking for a way to group sections of my CCK add/edit forms so that I can give users a form with sections instead of one long page. I'm already using Fieldgroup to group fields for display so ...
1
vote
1answer
40 views

encrypted fields

I am using Services to collect data from an application. I will store each user's key on their drupal profile, and want to match that key against a key submitted through services. I would like to ...
0
votes
1answer
121 views

Drupal 6 CCK fields export/import in between environments

I have a Drupal 6 website that uses a lot of custom content types and along with a lot of CCK fields. Now with each new hotfix/patch/amendment new content types and CCK fields are added. Once the new ...
0
votes
1answer
69 views

Display/hide CCk field with custom php and rules or… what do you think?

I have conditonal fields, I have computed fields, I have rules, but i can't find my head out. Can you guide me? This is what I want to do. I have custom variables stored in sessions, those ...
0
votes
0answers
31 views

populating a book into drupal 7 based on a form submission

I have been looking into drupal 7 and I am currently trying to create some multi page content all about one subject. Consequently I'm looking into the default book module built in to drupal as its ...
1
vote
1answer
38 views

Is it possible to get last modified date for certain field?

Is it perhaps possible to get date and time of last modification of certain field? Just like in table "Node" you have "created" and "modified" dates, but what about fields of certain content type? I ...
0
votes
1answer
29 views

How to append a Value in cck field in a for loop?

I want to keep a progress field in my content type so i can update value in it. But it doesn't take the previous value if saved in for loop. for($i = 1; $i<=5; $i++) { $mynode = node_load(6); ...
0
votes
1answer
52 views

Add float or align selector for CCK image fields

I'd like to add a float/align drop-down selector for each CCK image field in my content items. Then, that image would float/align itself on either side of the content (left or right), depending on ...
0
votes
2answers
396 views

Arrange fields in a drupal form by multiple columns/rows

I'm trying to create forms that I can customize to display multiple elements in a column or row, instead of the current one field per line that seems to be the default. I've been searching around for ...
0
votes
1answer
44 views

Add CCK field to panel / page (from page manager)

Working in a D6 site, I was asked to add the CCK field that appears in all nodes, which is a taxonomy term reference, a tag, to a "Landing Page" created using page manager and panels. Is that even ...
3
votes
4answers
112 views

link field does not validate http://

I have a link CCK field, but the field does not validate http://, and it accepts inputs like the following one. how can I make it accept the input only if it contains http://?
2
votes
2answers
110 views

Distance / Proximity from cck location field ? not from user or node location?

I try to get a distance between cck location nodes / users but I didn't succeed at that point because the only avalaible views field to do that is "EMPLACEMENT : DISTANCE / PROXIMITY" which concerns ...
0
votes
2answers
36 views

How do you create a CCK field that presents a node creator with a list of the website's users?

I'm trying to add a CCK field that will present a site manager with a list of instructors which are actually a sub-group of already-authenticated users with the role name of "instructor" for a "class" ...
0
votes
0answers
42 views

adding the description of a taxonomy term as a class on field

I have a taxonomy vocabulary called Eatable with 3 terms: name: Apple, description: fruit name: Banana, description: fruit name: Chicken, description: animal I want when a term of Eatable is being ...
0
votes
1answer
82 views

Change title of a content type

I have a custom content type named 'product'. Every content of type product has a serial number of the product as the title. But while displaying the title I want to override it from two of the CCK ...
0
votes
1answer
29 views

Preserving database relationships upgrading drupal 6 -7

We're in the process of figuring out quite how much work upgrading to Drupal 7 is going to be. The thing that is really worrying me, is that we currently have our main content as Nodes: Equipment ...
1
vote
1answer
27 views

Can I override/modify an existing hook_widget_info for an existing CCK field type

I want to modify the default Link field, so that instead of just a text field it will always have a Validate Button next to it (for active checking). I don't want to create a new Widget, I want to ...

1 2 3 4 5 12