Content Construction Kit (CCK)

For those who wish to discuss CCK development.

CCK field modules maintainers - D6 upgrade path must read!!!

To all CCK field modules maintainers :
please read http://drupal.org/node/304813

(also posted on the development ML)

1 comment

Creating a CCK field module

I wanted to create CCK field module. I am supposing there would be special considerations for cck field modules than a regular stand alone module. Where would be a good place to point me to?

1 comment
heshan.lk's picture

Video module 7.x-2.1-alpha2, what you should know?

Original post : http://heididev.com/video-module-7x-2x-what-you-should-know

I released video module 7.x-2.1-alpha2 version on 11th of Sep. This major version completely redesign the video module and its core, I'm the only one worked on this release and seems our co-maintainers (6.x) had no time to contribute code to the 7.x yet. I'm very very happy about the progress of downloading and using video module. It has over 10,500+ usage now.

In this article I'm going to examine some new features added to the video module.

2 comments · Read more

Theme/Views Modification | Music Label

Employment type: 
Contract
Telecommute: 
Allowed

Hello! I have a small but probably pretty straightforward job for anyone looking for a quick pick up. Must be ready to start right away.

Read more
level09's picture

Real Estate Management Based on Drupal 6

I have pushed a new Property Management System built with drupal to github.

https://github.com/level09/smsar

it is easy to use and has some nice features. there is a nice theme provided as well based on bludprint css framework.

demo can be found at :

http://www.smsar.me

I have developed this long time ago, but I was using it commercially (selling it). didn't have time to create an installation profile, but it should be fairly easy to install and use.

2 comments

Lead Drupal Developer | 54

Telecommute: 
Allowed

I am looking for an experienced Drupal developer (minimum 4 years experience) to help with ongoing modifications I need to make to my established site.

This employee must be comfortable with themeing and CCK as well as capable of writing code from scratch.

Javascript and PHP are necessary skillsets.

This is an ongoing project poised to last 12+ months.

wittusen's picture

Couple 2 fields together

I have a content type that is using node reference fields to pull in values from other content types; this final content type is to build a summary view of 2 other content types. My problem is that I want to pull in 7 values from one content type, tie those values to day's of the week. As shown in the example below

  1. Select 7 restaurants
  2. Select Day of the week that applies to each on of these restaurants, as in Monday belongs to McDonals, Tuesday belongs to Starbucks

Can anyone suggest how this can be done?

Login or register to post comments
greta_drupal's picture

TIPS for managing high-volume CCK fields site (wiki style)?

Greetings.

I am building a wiki site, which will have many CCK fields. I'm already feeling exhausted at the prospect of paging through a mile-long list of CCK fields when constructing views, for example. As this is a membership-only site, even the user profile has some 30 fields.

My plan is to create a unique content type for each category/topic (15+). Each content type will contain several common fields, so I've planned for that reuse of fields. Several fields will be conditional fields, some "other" combo fields.

2 comments · Read more

How to create a cck text field with php default value

Hello everybody.
I've been searching for quite a while now and still wasn't able to find an answer yet.

I'm using Drupal 7.4 and I created a new content type. There i want to add a simple text field that has a Default value where I can add PHP. Normally, the Default value shows only plain text.

To be more specific:
For the users I defined a field_city that they must complete when they sign up.
So for example i would have a user "john" from "Bucharest".

2 comments · Read more

Adding to one view a variable filter (a result from another view )

Here is what I need to do:
1.Check the Creation DATE of the most recent node (article)
2. Create a view that lists all the nodes such that node.created = Creation DATE.

In other words, I want to be able to pass a variable date to the filtering criteria. I know I could construct it from scratch using 2 db_query calls but I am looking for a more intuitive way that does not require a lot of customization.
I have been trying to use hook_view_query_alter and add_where() but with not much success because I do not want to create a module just to do this.

1 comment · Read more

D7 - Converting Title field in a cutom content type to a select List

Hello everyone,

I had a requirement to create a custom content type in D7 where the user can choose the title from a predefined select list.
I did create the content type but to my surprise the title field is not editable and no widget can be selected. However, I attempted to modify the title field by creating a module. I was successful to convert the title field to a select list with predefined options/values and it works fine when adding a new node. But when I try to edit an existing node, the previously selected title does not load but rather the default/empty option.

1 comment · Read more

Invoking CCK widgets in a custom module?

I just joined today, and this is my first post, so apologies if I neglected to find a better place. (Tips are welcome and appreciated).

Login or register to post comments · Read more

Copy values from a content to another content

· · ·

Hi,

I had created a "receipe" content with many "ingredients" field. I also have a "shoppinglist" content with a list of "ingredients" (same field of the receipe).

I need that when the user is viewing a receipe node (not editing) he could add one ingredient to his shopping list. I have already developed a module wich reads the content of the user' shopping list and displays it in a block.

I'm thinking of "templating" the ingredient fields (http://drupal.org/node/206980) with a (jquery) form which sends the form to /node//add.

Login or register to post comments · Read more

So near yet so far with a filefield and textarea compound field

Hey,

Firstly, am new to this group, so hopefully my discussion item is relevant.

I have been spending the last few days trying out a compound CCK field, using examples such as http://www.poplarware.com/articles/cck_field_module as a great starting point. I have come to realise such how complex an area this is, but I feel I have managed to get quite far along a solution, and wanted to ask around if anyone had any pointers or advice for completing it.

I'm looking to create a CCK field containing a textarea element, and an imagefield element so that a content editor could create n number of 'paragraphs' (textareas) in a node, with images attached to the paragraph. I also want the imagefield to be optional within the compound CCK field; you should be able to have a paragraph without an image. This differs slightly from Jennifer's img_cap_tax_fld example (from PoplarWare) in that the caption field appears after a file has been uploaded, and is stored serially with the file.

Login or register to post comments · Read more
cpelham's picture

help overcoming d7 cck migrate fields multilingual update bug

I need help overcoming a bug in D7 CCK migrate fields, which fails to set the language which makes the field data not show up on edit screens of multilingual sites.

I'm not knowledgeable enough to patch the module and so far no one in the issue queue has helped. Maybe I have almost written a query that could be run directly in phpmyadmin though. Can anyone help me correct this syntax (assuming you can run if/then statements directly in mysql queries)? There must be a LOT of multiilingual sites that cannot upgrade to d7 without this:

select nid, language from i18n_node;

1 comment · Read more
cpelham's picture

import of fields from multi-lingual D6 site into D7 fails

I am cross-posting this from the CCK issue queue:
http://drupal.org/node/1063852

If using more than one language the story is the following:

  • the fields import via migrate content into D7 and display fine while viewing nodes
  • going to edit node and all the fields are blank, no values are shown here, like creating a new node
  • D7 field table rows have a column for language but instead of getting set to the proper language on import, the column is left as "und."
Login or register to post comments · Read more

Help Please

I always have questions and need to participate on the groups.drupal. But while I am at work, the site always trigger spam filter. I tried posting from several terminals and still having the problem. It looks like the ip address has been spammed or something. Please refer me to the appropriate where I can get this resolved. I am posting this from home...

Sorry for posting here....

Thank You,

14 comments

D7 CCK Packaging modules as 'Fields' or 'CCK'

I have just convert my D6 cck module to D7. On the module page, I see a few CCK modules now package their modules under 'Fields'. I see a few others that are still packaged as 'CCK'. I was wondering what is the best practice on this issue.

Login or register to post comments

Entity set domain based CCK field: naturally represents multi-component data or arbitrary n-ary relations between system entities

It is now for quite some time i'm using a bunch of modules i built for my projects.
I call the entire package N-Tuple.
The purpose of modules is to extend the drupal frameworking capabilties.
Modules were developed based on concepts of ER modeling.

N-Tuple modules provides cck field that developers can use in different ways:

  1. Build multi-column fields
  2. Per-column options
  3. Assign each column a list of available values
  4. Advanced management of available values
  5. As base cck field for your module. (just implement your application specific logic)
Login or register to post comments · Read more

Good compound field examples

Does anyone have a good compound field module with something like two fields, a text field and an integer, preferably supporting allowed fields and select widget for the text and prefix/suffix/max/min for the number and views support.

I've tried cck3 multigroup support and it isn't quite as nice as true compound fields.

I've been trying to make one myself based on the samples and docs out there and my programming skills are not quite up to snuff.

http://poplarware.com/es/articles/cck_field_module
http://www.darcynorman.net/2008/05/02/creating-a-custom-compound-field-f...

Login or register to post comments · Read more
Syndicate content