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.

marcoBauli's picture

Developing CCK teasers the right way

Howdy,

looks like one of the most wanted features of Conent Construction Kit (CCK) are teasers (short presentation text of nodes with eventually a picture, showing on the front page).

Urging this feature as many others for couple of my websites, I digged Drupal.org a bit looking for a solution. Unfortunately, teaser functionality seems still on it's first steps and many different approaches can be found (i write below the interesting Drupal.org nodes i found).

QUESTION: i would be interested in hiring / co-sponsoring a programmer to develop teaser functionality for CCK. Can any expert Drupal coder give a hint on what approach is more reliable/correct/better, so to take the right path and spend well any effort?

Read more
njt1982's picture

Imagefield

Firstly, hi all in this group...

A little background from me - I've been programming websites for a few years and recently had a chance to meet Rob Douglass through my work. My eyes have been fully opened to Drupal and its potential! Before drupal I coded sites by hand as I always believed CMS's to be restrictive and blubbery. Although drupal isn't particularly lightweight, its certainly not restrictive. My first (personal) project was to create a challenge database for a forum I regularly attend... This produced DBP-Site. I learned a lot from this such as a code highlighting module which, at some point, I'm going to progress and submit to the module base here (it should work as a more generic highlighter too).

Read more
robertdouglass's picture

datewidgets module rough alpha available

You can look at the basic work I did yesterday on making a date field widget in my sandbox. There is also an issue in the CCK issue queue to address the code.

Someone please take over. At least parts of my approach are quite good and can be used in a final solution. Other bits are clearly a fudge because a final solution is going to be a lot of work.

Known issues:

  • Day seems to be offset by -1 after going through format_date
  • Time zone support is nonexistant
Read more
robertdouglass's picture

Time to move away from timestamp?

In my opinion, the use of timestamps for the representation of dates in Drupal core is problematic. It is fine for recording all events that happen now, and it is even fine for recording historical events, as long as they happened 1970 or later. They are utterly useless if you want to make a geneology site.

More disturbingly, the event module also relies on timestamps for representation of events. As far as I can tell, this is a huge limitation. The CCK date field uses the ISO 8601 standard which saves times as as string: 20060610T20:47:48+01:00. While there are lots of arguments about how the data should be persisted in the database, to me, it is clear that the ISO 8601 string is ideal for representing the date in Drupal code (unless you're doing archeology, then I've got no idea what you do with BC dates).

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: