Content Construction Kit (CCK)

Events happening in the community are now at Drupal community events on www.drupal.org.

For those who wish to discuss CCK development.

satbir's picture

Different view in Edit and Home Page - Contemplates

I have create a contemplate which shows cck fields in table format.

When I see the content alone, I see the same correctly in table format (http://enjoyindianfood.com/ss2.jpeg)

But when I see the same in Homepage, table disappear and I see it in unformatted view. (http://enjoyindianfood.com/ss1.jpeg)

I know this will be very silly one but can some one help.

Read more
aaron's picture

Custom Thumbnails in Embedded Media Field during D6 Port

Currently, Embedded Media Field has Embedded Thumbnail, which allows editors to override the thumbnails provided by third party providers. I originally just copied some code from Image Field to handle it, after toying with (and rejecting) the idea of creating some sort of generic image handling api to help modules needing the functionality.

Read more
dfahrney's picture

Displaying a CCK Content Type as a page ?

Hello All: I'm really new to Drupal and using version 5.10 basically because of the level of modules available for this level. I'm in the process of creating a data collection web site and I have the content type created all the collection part works and I can see and search the data.

Read more
alancooney's picture

Price Comparison CCK Module

Hi everyone,

I am writing a CCK price comparison module which will essentially do the following (hopefully!):

  1. In Administer page, user can choose some stores to be enabled by default (eg Amazon, dabs...), and add more by answering some questions for the spider.
  2. When adding price comparison to a content type users can then choose which stores to enable.
  3. A user then creates a node for a specific product, and enters the urls for the stores price_comparison asks for. Suggestions will be made by the module but the user will need to check them.
  4. The module checks all the site prices as the node is created, and then checks again on cron-based schedule.
Read more
xano's picture

CCK, Fapilicious and Validation API cooperation

This afternoon TapocoL, cYu and I (Kaaskop @ IRC) discussed the possibilities of CCK, Validation API and Fapilicious to work together on form processing. Currently, CCK features built-in validation for specific fields, like addresses. Fapilicious is a library which (though still under development) features built-in field validation for any form field. Validation API mainly is a UI for creating custom validators and using them for CCK fields.

A few of the ideas:

<

ul>

Read more
wpanssi's picture

Field permissions by role

I would need to be able to set which roles can view / change a custom field I created with CCK. I tried CCK Field Permissions, but it didn't work for me at all, see this: http://drupal.org/node/295675

Any tips how to do this?

Thanks in advance

Read more
karens's picture

CCK Combo Fields

I've got a first pass at creating a way in the CCK UI to make a custom collection of fields that will act together as a single complex field. An example of a way to use this would be to create an 'Address' combo group, comprised of several text fields that are labeled 'Street', 'City', and 'State'. You can set it to multiple values to have more than one address field collection in the node form. All the 'streets' will retain their relationship with the appropriate 'city' and 'state' by keeping the same delta values, and the related fields are grouped together in the form.

Read more
Evan Wise's picture

Displaying multiple cck_map instances on a single page

Hello all,

I am having an issue right now (Drupal 5.9, CCK 5.x-1.7, cck_map 5.x-3.3, views 5.x-1.6) where I have a view that returns full nodes that contain a Google Map. This works fine and great.
However, the issue is that only the Google Map in the first displayed node is rendered properly, the others do not render and I have an error in my FF3 logs:
Error: a is null Source File: http://maps.google.com/intl/en_ALL/mapfiles/122b/maps2.api/main.js Line: 312

Has anyone else ever seen this issue and if so how did you work around it?

Cheers,
E/.

Read more
Alexander Ufimtsev's picture

CCK MAC address field module

Hi! I've developed a CCK MAC address field module on the basis of CCK IP Address. Just wondering whether anyone has any interest in it, and if so, what do I do next?

Read more
julma's picture

Exploring the possibilities and the limits of CCK

It could be a good idea both to show the interest of using CCK and to have a clear idea of what still need to be improved in CCK.

So if you want to comment on this thread, either you can take an example of form on the web and explain how you would be able to reproduce it with CCK or on the contrary you can take an example and explain why it is impossible or difficult to do it with CCK.

Who want to play that game ?

Read more
klewis's picture

View Not Displaying Fields

I created a page that has a form using CCK. It contains:
1. Title
2. start-end date
3. drop-down menu
4. check box (allow one)
5. radial
6. body

Then I have a view setup. The Page should show all of the gathered information above But the numbers 3,4 and 5 above will not display.

If I use ROW STYLE = NODE (Instead of fields) the display looks desirable as far as style / formatting but does not allow me to choose / add the additional custom fields.

Question 1:
Anyone know how I can get these custom fields to display?

Question 2:

Read more
Chris Charlton's picture

My slides from DrupalCamp Colorado 2008

For those interested in seeing my slides from my DrupalCamp Colorado (2008) presentation, Flex/Flash/AIR Interfaces for Custom Content Types in Drupal they are on SlideShare.net at:

http://www.slideshare.net/ccharlton/flex-flash-air-interfaces-for-custom...

Read more
darioshanghai's picture

CCK: show node references only to nodes by same author

Hi,
I have a website Drupal 5 where an user can:
1) Create a node of type "Vehicle" (created with CCK)
2) Create a node of type "Track" (also created with CCK)
3) When the user creates a track he can link a vehicle to it, but the vehicle has to be his own, he cannot link just any vehicle.

Read more
boris mann's picture

Current best solution for add and reference?

I'm aware of:

Addnode and Nodereferrer look like the leading candidates, and assuming that NR is going to be available for D6 soon, I'd use that. BUT, creating items on the same form page as Addnode does seems the most elegant.

Read more
dodorama's picture

proposal for CCK UI

CCK as a module has a lot of functionalites and this makes the UI difficult to grasp for new users even if developers made a lot to improve it. Since we’re going to put CCK fields in core maybe we need a cleaner interface .
So I did a mockup for a two steps content type creation form that not only try to make the UI simpler but even introduce new concepts and I hope opportunities. Please note that this is just a mockup I don’t have any working code and probably I wouldn’t be able to code anything. This would hopefully be just a start for a discussion.

Image 1

Read more
julma's picture

"CCK semantic web compliant fields" and Yahoo SearchMonkey

It used to be difficult for me to imagine a simple application that really use web semantic technologies.

Then yersteday, I attended a Yahoo presentation in Paris about the searchmonkey API
http://developer.yahoo.com/searchmonkey/

So I give it a try with my favorite web site drupal.org.
It is fun. You should try. It just takes two minutes.
But drupal.org doesn't use websemantic technologies like microformat and RDF yet.

To see the difference, try it with the url facebook.com/p/*
Then you have also the fields available from the hcard microformat to play with.

Read more
julma's picture

UI of CCK, Panel and Workflow

Just wanted to point out this link : http://www.serena.com/mashups/sPR_06112008.html

Because I have seen a demo yersteday and I found some functionnalities very similar to what CCK, Panel and workflow can do.

You can watch the video and even dowload the tool for free to try to play with it.

Maybe it can give you some good ideas for the next versions of CCK Panel and workflow modules.

Read more
kreynen's picture

Best Practices for Hybrid CCK Module Development

As we move forward with the Open Media Project, we've found ourselves in the "age old" debate of developing modules with functionality built on top of CCK or building a custom modules with full control over their tables and functionality. This was recently discussed here, but we have a different set of feature needs than davidm had so I'm bringing it up again.

Read more
rokr's picture

Reverse Node Reference with Action

Hi there,

a lot of requests in drupal forums address the backlinking of nodes being referenced by node reference (which is part of CCK). This can be achieved by nodereferrer or with views and additional argument handling code (which is in my opinion much more flexible).

While nodereferrer is by design read only i'm looking for a smart solution which extends the list of referencing nodes with a button „Link it!“.

Read more
davidm's picture

Accessing CCK data from a custom module

I've posted a general item regarding using CCK from custom modules here..

http://drupal.org/node/274894 - Custom module using CCK

Help in this matter would be appreciated (and generally useful).

Read more
Subscribe with RSS Syndicate content

Content Construction Kit (CCK)

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week