O'Reilly logo

Drupal 7 Development by Example Beginner's Guide by Kurt Madel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action — setting up the Drupal content type associations

Content type associations are used in Eclipse-based IDEs, so that the correct file editor is used for a specific set of file types. The PHP editor is typically only associated with the .php and .inc file suffixes, but for the Drupal development, we will also want the .install and .module suffixes associated with the PHP editor.

  1. In Aptana Studio open up the Preferences menu; for Windows, it is under Window | Preferences, and for Mac OS X, it is under Aptana Studio 3 | Preferences. Navigate to General | Content Types.
  2. Expand the Text section in the Content types list, scroll down to PHP Source, and select it.
  3. Click on the Add... button.
  4. Type *.install for the new Content type association, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required