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

Any timeline for compound field support?

Folks told me compound filed will be supported in CCK 3. Is it true? If yes, it is great.

Currently, CCK does not support compound field unless developers make such a filed themselves.

Even developers make a compound field, it still has some serious limitation:

For example, you cannot set the number of values on an individual field in a compound field.

Login to post comments

Is it possible to set number of values of an individual field in a compound field to "multiple"?

I got a problem when developing a compound field (Drupal 6, cck 2). It has an Imagefiled, a few textarea/textfield/checkboxes, etc.

However, I realize that I must enable users to upload multiple images. The compound field as an entire field can be set to "unlimited" number of values , but not the individual field in the compound field.

In other words, all individual fields in this compound filed, other than the image field, can only have just one value; the compound field as a whole, can only have one value, too. But the image filed must be able to have unlimited number of values.

Login to post comments · Read more

On-the-fly remote image fetching

I've got a tricky problem, and I'm hoping folks more familiar with the CCK/Views ecosystem can help me formulate a plan of attack.

My module pulls listings from a remote database of real estate listings and imports them as nodes, with each field in the remote listing corresponding to a CCK field on the nodes, so the listings can easily be displayed, sorted and filtered with Views - it works pretty well. Each listing can also have several images, and I'd like to be able to use CCK and Views to display those images as well with full ImageCache magic.

Login to post comments · Read more

Proposal for a module: TAC fields

I'm considering developing a module to extend the functionality of TAC to role/field combinations. TAC works wonderfully for controlling access to whole nodes based on their taxonomy, but it's all-or-nothing; the module currently has no way of leveraging the per-field access control offered by Content Permissions.

I don't think the functionality belongs in TAC itself, as my proposed module is an additional layer of complexity that's specific to CCK content types.

Login to post comments · Read more

CCK Node Reference to custom feed

I'm working with 2 types of nodes, 'alert' and 'area'. I've pre-populated a bunch of area data which contains various information such as coordinates, etc. Each 'alert' has, among other information(title,scope), a node reference to an 'area'.

I'm trying to create a feed like this:

<alerts>
  <alert>
  <title>Title</title>
  <scope>Public</scope>
  ....
  <area>
     <coordinates></coordinates>
     ...etc....
  </area>
  ....
  </alert>
  <alert>...</alert>
</alerts>

Login to post comments · Read more

Locatio mapper feedapi georss for ckk

I have been looking into the location mapper for the feedapi.
My rss feeds are provided by a affiliate-datafeeds to rss converter. This feed includes categories and georss information. I found the following issues:

  1. RSS does not have other geo fields except the georss tags
  2. The location mapper does not allow mapping other fields then the georss (makes sence after the first issue)
  3. When solving 1 and 2 the locatiomodule will still attempt to find ‘better’ coordinates and throw away the provided onces
1 comment · Read more
igor.ro's picture

Using views in cck formatters

In my last project I develop module that may be intersted to community.
The problem was that I need to show list of images (imagefield) from nodes (type A) that references to node (type B) in on full node view page in the node body region. Also I was need to show list of nodes (type C) that have same taxonomy as current viewed node.

The decigion was to run view in the formatter code for nodereference field and to pass in this view value of this field as argument.
What do you think about this solution?

Login to post comments · Read more

Simpletest and CCK types

Hey all,

Ive been exploring the wonderful Drupal framework for some weeks now, been reading alot about modules, module development and theming. In the last few weeks i have developed some small modules that i want to test using the Simpletest module.
Ive read the documentation and the tutorial to get some sense of how to set up Simpletest for my modules. So i thought i would start by making some functional tests for my custom CCK types. So far i haven't had much luck, ive been wrestling Simpltest for a while now and its not returning the love so far :P

1 comment · Read more
mikeytown2's picture

CCK node reference & cache expiration for boost

I could use some help with boost and CCK. Given nid, get all cck node references (this node points to X (not very useful, X hasn't changed)) & all cck back references (X points to this node (very useful, this node changed)). Flush all nodes, only going 1 level deep. Any help is greatly appreciated.

Boost issue: http://drupal.org/node/567650

Login to post comments
pvhee's picture

Social networking accounts: unified approach to store in external account data in user content profiles?

Currently, drupal integration with networking sites happens through contrib modules that all store their settings in different ways. For example, both Facebook Connect and Twitter store combinations of drupal user IDs with external IDs (Facebook uid, and Twitter account name) in custom database tables, and both provide a custom interface to edit social network account information in a user profile. Consequently, views integration is custom and relies on the contrib module to implement it.

2 comments · Read more
ebrittwebb's picture

How To: Generate Random URL

(Reposting...last post was deleted)

For certain content on a site, I want to implement "security by obscurity" by having the posts show up only in restricted views and by making the URLs for those posts a set of random, unguessable characters (like Microsoft does with GUID).

So, I need guidance in two parts:

  1. What module (presumably CCK-related) or trick will create a set of random, unguessable characters that I can then use as replacement token in pathauto?
5 comments · Read more

2 content templates for 1 content type

I was reading "Flash With Drupal", Tidwell, in there there is a content type recipe. Is it possible to define 2 content templates for 1 content type, for example: if a cook (role) clicks on a recipe link, it will open up in cook.swf where he can view the recipe. If a chef clicks on the recipe link it will open in a different flash application, chef.swf, that can be used for editing the recipe.

Login to post comments
joachim's picture

Creating new nodes from CCK nodereference fields

I can find at least four modules that do this in various ways:

http://drupal.org/project/addnode
http://drupal.org/project/popups_reference
http://drupal.org/project/add_n_reference
http://drupal.org/project/noderefcreate

Older modules that allow this sort of functionality include image_attach and audio_attach (part of http://drupal.org/project/image and audio module respectively). These include extra fields (title and image file, for instance), so for an eventual conversion of these to a generic system, an API needs to lets a module specify which fields the user fills in,

Read more
betawebsolution's picture

Providing Service On Graphic Design

we are sending you our work profile just for reference. We are also thinking the same thing to go hike in our life. We are group of freelancer running this virtual company (betawebsolutio) for the past couple of years. We are planning to move this company in real and work for this company completely . We have very good experience holder in business development guys, designers , testers, coder (php flash) , and other open source developers. If you want to go further then add me skype for further talk .

Service Domain-

Login to post comments · Read more

RSS Enclosure handling

Still working on my http://wwwatts.net site and am looking at what it will take to properly handle a podcast or other feed with enclosure tags. With my existing site the podcast entries get aggregated into an aggregate feed and the enclosure tags are carried along such that the aggregate feed is also a podcast aggregating the individual podcasts. This is a good thing (I think).

2 comments · Read more
betawebsolution's picture

freelancer | betawebsolution

Employment type: 
Full time
Telecommute: 
Allowed

we are sending you our work profile just for reference. We are also thinking the same thing to go hike in our life. We are group of freelancer running this virtual company (betawebsolutio) for the past couple of years. We are planning to move this company in real and work for this company completely . We have very good experience holder in business development guys, designers , testers, coder (php flash) , and other open source developers. If you want to go further then add me skype for further talk .

Service Domain-

Read more

Tutor/Developer: CCK/Groups/User-Registration | Visual Thinking Strategies

Employment type: 
Part time
Employment type: 
Contract
Telecommute: 
Not allowed

Hello NYC Drupal community,

I need someone to sit with me and both teach and help develop content fields/types with CCK, (organic) groups infrastructure, and a payment gateway and user registration process that corresponds with the roles and groups of my site.

We are a non-profit working in education. The site will be used by educators across the country and internationally. I am trying to develop an infrastructure to easily facilitate user-generated discussions and content generation/upload.

Read more
betawebsolution's picture

Developer in open souce | Betawebsolution

Employment type: 
Full time
Employment type: 
Part time
Employment type: 
Contract
Telecommute: 
Not allowed

betawebsolution is one-place center for all your web development needs. Our mission is to provide you with immediate quality programming /Designing services. We can work under any project size, small 1-hour or a long term deal. We are coordinators and project managers united best web freelancers mainly from Russia and India. We provide full support and project management for start-ups as well as manage small task from 1 hour in development.

Technologies:

PHP4, PHP5, Ajax, HTML, DHTML, CSS, JScript, VBScript, XML, XSL, XSLT, MS SQL, Perl, Java, .NET, Python, OCAML, Ruby ,Drupal

Read more
jayburgh's picture

Basic CCK Module Question

I love CCK, yet I have hunted for hours to no avail to find the answer to a simple question. Let's say I create a generic 'letter' content type with CCK to represent letters to newspapers and legislators. I have different CCK 'projects' for which I want my users to create instances of this 'letter' content type. I need a basic roadmap on how to build a module that when a user spanks a link from within a 'project' context, I can present them with a custom CCK 'letter' content form with some fields stuffed and others defaulted based on the project. Coding is not an issue.

Login to post comments
Syndicate content