Drupal: module development for Drupal 7 – Part 2

Field API Nice example: http://evolvingweb.ca/story/poutine-maker-introduction-field-api-drupal-7-part-1 Providing a field requires: Defining a field: hook_field_info() Tell your field system about the fieldtypes (custom fields). It defines what the default widget en formatter are. We can specify one or more fieldtypes. hook_field_schema() For each fieldtype we tell what kind of scheme to use. This hook must be defined
Continue reading Drupal: module development for Drupal 7 – Part 2

Drupal: module development for Drupal 7 – Part 1

Drush $ drush dl drupal [download latest version of drupal]   $ drush si –y –db-url=mysql://root:root@localhost/database_name   [si = site install]   [-y = say automaticly ‘yes’ to all prompts]$ drush dl drupal [download latest version of drupal] $ drush si –y –db-url=mysql://root:root@localhost/database_name [si = site install] [-y = say automaticly ‘yes’ to all prompts]
Continue reading Drupal: module development for Drupal 7 – Part 1