CCK

Events happening in the community are now at Drupal community events on www.drupal.org.
mjh5598's picture

A real newbie question...about cck and multi-part forms.

I got the hang of cck which is really cool by the way. I have 3 questions that pop up:
1. how to i create a multi-part form ???
2. how do i do a back button to go to the previous page and have it remember the info i added?
3. how do i can i create a dropdown of fields/nodes i created before with dropdowns and use that info in a new version of the form???

has anyone seen a good online video tutorial that i can tap into..that guy rob from the awakened voice learning center is the best with his online stuff..

thanks
mjh

Read more
alex_b's picture

Feed Element Mapper improvements

The Feed Element Mapper maps now not only standard RSS tags to taxonomy, but also any RSS tag to taxonomy or CCK fields.

Check out the screencast here:

http://www.developmentseed.org/blog/2008/jan/24/pick-it-feed-stick-it-no...

and a step by step guide how to build your own mapper:

http://www.developmentseed.org/blog/2008/jan/24/build-your-own-mapper-fe...

Read more
droople's picture

Choice of mandatory fields: How to in CCK

I have 2 fields called "local tele" and "non-geo telephone" for the phone field for cck

so users can enter either a 01233 or 08xx number, or even both.

Of these 2 fields I want at least one to be mandatory when creating the node

  1. so if a user doesn't enter either of the two, a "required field" error is rendered and node won't submit

  2. If a user enters "local tele" then non-geo can be ignored and vice-versa

  3. if user enters both fields, then both will appear on the node

thanks

Read more
yojoe's picture

How must the e-Commerce module be enhanced to be suited as a booking system?

Hi all,

I think the e-Commerce module is a good basis for a booking system. I would suggest, that we discuss how the e-Commerce module could be enhanced so that it can be used as a booking system.

For the use cases I can think of, a booking system consists of two parts:

  1. Data modelling and presentation (themeing) of the object/service/thing that can be booked. This can be done with CCK.
  2. Support of the booking workflow (booking, invoicing, get in contact with customers). Would be good if this was supported by e-Commerce.
Read more
aaron's picture

RPG & Nodes

I'm going to bring up an old discussion now. I don't think there's been much discussion in forums (but if so, maybe someone can dig up some posts). But there has been much over the past couple of years in IRC.

This has to do with integrating RPG with the Drupal node system. The current RPG module is its own entity, entirely unattached to nodes. This is a reversal of earlier versions of the module. Originally, I'd planned to fully integrate it with CCK and Views, and if you look at the first few dozen commits, you'll see that RPG objects were actually node types, and the attributes were fields.

Eventually, I ran into several problems. Some issues were merely difficult, while others seemed nearly insurmountable. Thus, I rewrote the engine, making RPG objects an entirely separate entity in the database.

Now I'm writing graphical support for RPG, and am finding myself duplicating code, and questioning (yet again) my original decision to detach RPG from nodes. Here are some Pro's and Con's of using node types & fields for RPG objects:

Read more
cabbiepete's picture

Mock data for testing/Interface Definition

So I am writing a new CCK field and because I practice test driven development I find myself testing that I have implemented the CCK api hooks correctly. This basically means testing against the interface. Usually in a pure OO class orientated world for unit testing we would use a mock library (e.g.

Read more
greggles's picture

RFC: Best practices for managing indexes (particularly on cck tables)

As a site goes live and we do performance tweaking and benchmarking one of the common results is adding database indexes. I post this into the CCK group since one of the common sources of slow queries is for queries against the CCK tables. For example, a site that has a block that queries a field table to look for information about that field for every page load can quickly make its way into the slow query log. Adding an index to the field is likely to be the best solution.

Read more
toursheet's picture

Improved CCK for D6

KarenS who just organized a Drupal User Group, in Central IL, gave a presentation to it's founding members explaining a much improved CCK for the D6 release. CDMUG took notes and posted them to share with the Drupal community - check out our milestone 100th node post. ;-)

Read more
dawehner's picture

*Solved* Help with Theming a CCK Input Form

Solved
very strange , but i commented print_r(array_values($form)); and than it works

so i try to theme 3 different kinds of input forms
all is displayed well, but there is NO save into the DB or no elements are sent by the submit Button

thats my theme
http://drupal.pastebin.com/mb5311a6

the normal form works very well
So what do i have to do that the data is saved

Read more
true-pal's picture

Gallery2 CCK-field with Embedded-Media-Field

Hello,

I wounder if someone has already ported the Embedded-Media-Field to Gallery2?
http://drupal.org/project/emfield

Background information:
The emfield is a cck-field to integrate media types like images from providers like Picasa, Flickr, ..
or videos from youtube, myspace, ..
There are two integration types: as reference or import.

The emfield provides an API to embed further providers

My Idea:
Interprete Gallery2 as provider.
After porting the emfield to Gallery2 it should be possible to reference the images and thumbs
from the local installed gallery.

Read more
Subscribe with RSS Syndicate content