Content Construction Kit (CCK)

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.

For those who wish to discuss CCK development.

kehan's picture

URI Widget for cck

Hi,
I'm wondering if somebody has developed a URI widget for CCK? I think it would be an extension of the link module. Another option is to just have a text field with a URI filter rather than a URL filter. Does anybody have any pointers? I'm working on a project that will hopefully integrate with the semantic web and we'd like to be able to link to external content using the extended URI protocols rather than URLs. IANA maintains a list of URI protocols.

thanks
Kehan

Read more
spinningbull's picture

Hybrid CCK/Module Development - I've thoroughly confused myself...

Hi group,

I'm new to this group and forum. This may been a well-worn out conversation, but after reading through everything I could find, I've managed to make myself more confused. Specifically on the topic of developing hybrid-cck/custom modules.

Read more
markus_petrux's picture

Help testing the CCK Multigroup module

Hi all,

I've been working on a patch to the CCK multigroup module that I feel it's almost there. It needs as much testing as possible however. If you think you may need this feature, then please help testing, so maybe it can be included in the next release of CCK2, which I don't know because it depends on the CCK maintainers, but getting this tested, will help.

Read more
q0rban's picture

Programmatic importing of CCK Fields (d6.x)

I want to have a section on all content types that allows the user to upload a teaser image (imagefield), specify alternate teaser body and title fields, and a few checkboxes for promoting to various views. I could use nodeapi to do something like this, but I'd have to reinvent the wheel with all the data storage involved there (especially filefield/imagefield).

Read more
mattmm's picture

Feedapi + views

Looking to see how people handle output of views blocks (or otherwise) generated by feedAPI that have HTML markup in the feed.

I have a blocks that display a feed title and the teaser. However, the feed has HTML that the teaserfield isn't parsing. Things like breaks 'br' font-sizes etc are displaying as pure text in the field. Has anyone managed to avoid this? Possibly by mapping a teaser field to a specific CCK field of sorts?

Feedback welcome.

Read more
kirilius's picture

Cascade delete nodes that reference a deleted node?

I am trying to build a simple hierarchy of two node types. A-type is the parent and B-type is the child. I am also trying to strictly enforce that hierarchy, i.e.:
1) a B-node cannot be created without specifying a parent A-node
2) when an A-node is deleted, all child B-nodes MUST be deleted (with an appropriate warning of course)

Read more
dewolfe001's picture

CCK Performance

Hello,
I am planning on doing some benchmarking to assess two models of CCK used in Drupal 5.

Read more
kirilius's picture

Auto populate a nodereference field using the URL?

I have a node type A and node type B. B-nodes have a nodereference field that point to an A-node so that one A-node has many child B-nodes.

I need a link placed somewhere in the A-node (could be on a block as well) that says "Create a child B-node". This link should open the form to create a new B-node with the nodereference field:
1) hidden
2) pre-populated with the nid of the calling A-node

What is the best way to do that in Drupal 6?

Read more
dww's picture

D6 installation profile for testing CCK date fields now available

I just released an install profile for D6 core that sets up a test site for trying out all the combinations of CCK date field configurations: CCK Date Testsite. I've discovered various bugs in Signup's handling of CCK date fields (and have been fleshing out bugs and limitations in DateAPI itself with KarenS's help). I was spending a lot of time just configuring a reasonable test site to try different combinations of CCK date field types (Date, Datestamp, vs. Datetime) and timezone handling (there are 5 different ways date fields can handle timezones). So, I quickly decided the time spent automating the test site would easily save me time in the long run. And, I hope this profile will be useful to other folks working with DateAPI and CCK date fields.

Read more
nadavoid's picture

CCK 2 Documentation

I am about to dig into CCK a bit, and develop my first CCK Field. I'm sure I will be examining existing modules to learn from them, but I also want to find out where the best developer documentation is for CCK 2.

This http://drupal.org/node/101742 seems to be the main place for developer documentation. How much of the things that are tagged 5.x are relevant in 6.x / CCK 2?

Have things in the code changed so much from CCK 1 that I should pretty much ignore CCK 1 documentation? Or is it close enough that it would probably help me.

Read more
dww's picture

Signup module supports CCK date fields and is now available for Drupal 6

After a successful fundraising effort and a lot of hard work, I'm pleased to announce that the Signup module has made some major leaps forward in the recent past:

  • Supports CCK date fields for reminder emails and auto-close functionality (#86462). You can have both event and date enabled on the same site. For CCK date node types, you select which date field you want to use for signup functionality when configuring the node type.
  • Ported to Drupal 6, Views2, etc. The 6.x-1.0-rc1 release candidate is now out.

There are a ton of other improvements too numerous to list here. For details, check out the 5.x-2.6 and 5.x-2.5 release notes.

Read more

CCK Barcode Module

The barcode module is available now at http://drupal.org/project/barcode

A few other barcode modules:
http://drupal.org/project/upcfield
http://drupal.org/project/qr_codes

Suggestions and feature requests

Japanese barcodes

Japanese companies have been combining barcodes with images for a few years. For examples, see:

http://www.darkroastedblend.com/2008/04/japanese-creative-barcodes.html
http://blog.yam.com/kiroro9930/article/14450063

Read more
designguru-gdo's picture

Theming workshop in Toronto

Start: 
2008-11-22 10:30 - 15:00 Canada/Eastern
Event type: 
User group meeting

Are you a designer or coder looking to learn more about how to work with Drupal? Come to this set of free workshops in Toronto for step-by-step, in-depth instruction on making your Drupal 6 site unique, eye catching and highly functional.

This event will take place on Saturday, November 22nd at the Centre for Social Innovation, 215 Spadina Avenue in Toronto, from 10am until 3pm (but you can just drop by for the sessions you want to see)
Morning: The Basics

The morning session, from 10:15 until 12:30, will cover the basics of themeing Drupal 6 sites - you can see an outline of the sesssion here.
Afternoon: Open Sessions

In the afternoon we are opening up the floor to the Drupal community, to hold short sessions exploring more specific themeing topics. From 1:30 to 3pm in two 45 minute sessions.
Frequently Asked Questions (and Answers)

This is the first time we have held these workshops, so really, they are infrequently asked questions at this point. But here are the answers anyway.


Currently Scheduled:

MORNING

Designing for Drupal

The morning presentation will be an expanded version of a session from this year's Toronto DrupalCamp. The approach we'll outline is based on using the Zen theme, creating a custom subtheme for your site's identity, and will be based on Drupal 6.

The session will run from 10:30am to 12:30pm when we break for lunch.

Topics will include:

  • Design Considerations

    Learn about the four main considerations when designing your site, and how they relate to your intended audience.
  • A Primer on CSS

    A quick overview of Cascading Style Sheets, enough to start altering the look of your site
  • CSS techniques

    Want rounded corners? We'll show you how to make them without any additional markup. Want to break from javascript rollovers, but leery of hover states that lag? We'll show you solutions to these and other theming challenges.
  • jQuery for theming

    Drupal themers benefit from access to the powerful and simple jQuery javascript library, which can be a real boon to themers. We'll show you how a little scripting can take your site's theme to a whole new level.
  • Making subthemes with Zen

    Bulding an entire site theme entirely from scratch can be a daunting process. We'll show you an easier way, using the Zen theme as a starting point, for cross-browser, table-free layouts.

  • Creating context-specific templates

    Many sites have at least one spot that needs a little special treatment. We'll show you how to give these special cases the attention they require.
  • Enough PHP to be dangerous

    Sometimes you need to make structural changes to how the page, or some part of it is constructed. Often that means delving into PHP, so for the uninitiated, we cover a few basics to get you started.

AFTERNOON

Interested in a specific themeing topic? Don't be shy - volunteer to lead a session on whatever interests you. You don't have to be an expert on the topic - you can lead a discussion and let other people do most of the talking. Of course, if you have a Drupal presentation you have been polishing in front of the mirror for weeks, we can accomodate that, too. Suggest a session here (you need to be registered first!).

The open sessions will be 45 minutes, and run in two sessions from 1:30 pm to 3pm, with three sessions running concurrently.

Presenters so far:

James Walker, Lullabot
http://www.walkah.net

James will be presenting on either "Theme Developer" or "Template preprocessors: the what, when and why" or potentially both.

Qasim Virjee, Design Guru
http://www.designguru.org

"User Interfacing to promote Social Activity Online, in Drupal"

This talk will look at various common activities administrators, anonymous users and authenticated users engage in with a particular website. These common actions and their shared space will be contextualized within the perspective of promoting healthy social activity and a general emotive attachment to space.

From there, we will look at Drupal's stock options for allowing authenticated users to construct and develop an online identity, and then review modern approaches to profile infrastructure development. Taking both Drupal 5.x and 6.x into consideration, this talk will review the Node Profile and Content Profile modules to ultimately relate the ease of implementing tracker/activity-based dynamic user identities.

The talk will aim to close with a brief section on theming as a means of developing furtive spaces for online social interaction and look back on the covered technical approaches to building 'profiles' such that they accurately relate the human user's persona.

Read more
lukas.fischer's picture

Load field widgets manually

Hello

I'm looking for a way to programatic access/render CCK field widgets like filefield or imagefield (without using CCK form generation, I want to create my own forms).

Why? I love to work with custom forms and store myself the data to the correct place. Some of the data is stored in cck nodes, some are stored in log files, some are stored in complete custom tables. I know everything is possible with the node_api and form_alter but I like to have clean forms and clean form_submits.

Read more
yched's picture

Maintainer needed for CCK / Panels integration

CCK holding many (most ?) node data on many sites, the integration of CCK with other big-named 3rd party modules is important to allow rich features across the ecosystem. However, it's not really possible for Karen and I to get intimate enough with each one of them to implement, debug and enrich integration with 3rd party code efficiently.

Read more
aelling's picture

Dependent Dropdowns in Drupal 6 CCK ?

I am putting together a site where I have a set of terms that need to be assigned to a node during node creation. In this situation when a user creates a node, a drop down list of terms are presented to the user. Each set of terms is dependent upon the users previous selection in the dropdown to make selection of terms less cumbersome and overwhelming since there are thousands of possible selection combinations (ie. Manufacturer->Make->Model). Then the terms selected need to be used to make up the title of the node (i.e Manufacturer->Cessna | Make->Floatplane | Model->180 )

Read more
geraud's picture

CCK and Multisite install

Recently, I tried to use CCK in a multisite install of Drupal 5.11 and ran into a strange problem.

On one site, let's say mysite.com, CCK handled content types in content_type_xxx tables
On the other site, let's say mysite.tv, CCK handled content types in node_xxx tables

The result was a lot of error messages of that kind :

user warning: Unknown column 'field_name_value' in 'field list' query: INSERT INTO node_uprofile (field_name_value, vid, nid) VALUES ('aaaa', 40, 40) in /www-data/com/www/includes/database.mysqli.inc on line 156.

Read more
MatthijsG's picture

Term (taxonomy) allows use of cck?

Taxonomy and CCK are two techniques that are used often in Dr installations. A lot of modules are building upon them.

But is it possible to combine them? I searched a lot but i can't find the answer. When creating a node, and term 1 is selected, only the CCK fields belonging to term 1 should be shown (or accesible). When term 2 is shown, the corresponding CCK fields are used.

In this way, you can create something like this in the add/node form:

title: a new car
content: blabla
term: cars
=> CCK fields "engine power" and "tyres" shows up / are usable.

======

Read more
joegml's picture

Programatic CCK Install in Drupal 6

Anybody have any good references on this? I've looked at http://www.civicactions.com/blog/cck_import_and_update and like Wim Leers approach in that post of using files for CCK type imports: seems clean and modular, only problem is it doesn't work for me ;-) ARGH ^&*

I've googled about a bit and found a bunch of refs to "Programatic CCK Install" but I think most of these refer to D5. I'm not getting errors on install and I can do the CCK import smoothly by copying and pasting into the textarea w/ admin/content/types/import, but the code below does NOT install the CCK type.

Read more
toursheet's picture

Drupal Camp Chicago Invite

You are invited to attend Drupal Camp Chicago on October Friday 24 & Saturday 25 2008.

http://drupalcampchicago.org

Who/Why:

For over 2 years Chicago Drupal has truly highlighted the benefits of an open source initiative. We have built resourceful bridges between many local Chicago establishments including non-profits, entrepreneurs, Drupal development companies, independent consultants, hobbyist, and others in the mid-west. Our goal for this Drupal Camp is to bring everyone together for open communication, education, fun, and industry networking.

What:

Read more
Subscribe with RSS Syndicate content