The goodness of CCK + hook_form_alter()

As I was wrapping up the new TWiT site today, I needed to implement one new feature: scheduled publishing. I thought about it a bit and came up with a very elegant solution. Simple, lightweight, and unobtrusive in design, only accomplishable because of the new forms API and CCK.

And this is only the beginning, forms API 2.0 still needs to hit and CCK is getting better each and everyday. Imagine the possibilities later this year when Drupal 5.0 (or is that 4.8?) ships…

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You can use Textile markup to format text.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <img> <pre>
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]". PHP source code can also be enclosed in <?php ... ?> or <% ... %>.

More information about formatting options