Quantcast
Channel: Tyler Frankenstein - cck
Browsing latest articles
Browse All 5 View Live

Image may be NSFW.
Clik here to view.

Return Drupal CCK Integer Field Allowed Values List as Array

drupal 6.xdrupal 7.xcckplanet drupalDrupal 6 (D7 below)Below is a helpful function that will return the allowed values list for a Drupal CCK Integer Field as an Array.For example, here is my allowed...

View Article



Modify CCK Fields with Drupal hook_form_alter

drupal 6.xcckplanet drupalHere is how to modify a CCK field on a node form in Drupal. In this particular example, the CCK field I am trying to modify is called 'field_news_image' and is inside a CCK...

View Article

Retrieve CCK Filefield Imagefield Default Image Path

cckdrupal 6.xfilefieldimagefieldplanet drupalHere is how to get a Drupal 6 CCK Filefield Imagefield default image path:

View Article

Drupal CCK FileField (ImageField) Permissions Granularity

cckdrupal 6.xfilefieldimagefieldplanet drupalSo I had a content type with an optional, unlimited value Imagefield attached to it. The content type's user permissions where set to allow all...

View Article

Drupal Custom Time Field Select List with 15 Minute Intervals

drupal 7.xdrupal 6.xcckplanet drupalIf you need a custom time field select list with 15 minute interval options in Drupal 7, try this out when adding a new field to your content type (this will work in...

View Article

Browsing latest articles
Browse All 5 View Live




Latest Images