Drupal Central America

How to create and update a Field Collection Programmatically in Drupal 7

Hello folks

As you know one of biggest changes in Drupal 7 are entities, now all is an entity in Drupal. If that was not enough there are also field collections, used to group fields and present as a new entity.

The biggest challenge for developers is how to work with Field Collection programmatically for CRUD Operations.

Today I will explain how to Update and Create Collection Fields programmatically.

Drupal Freelance & Outsourcing in Costa Rica

Still a growing industry in the tiny Central American countries, Drupal companies in Costa Rica have taken on a fast pace. Popping all over the web development map, Drupal freelance resources and Drupal companies alike are making the best of the flexible and multi-faceted tool and have turned it into profitable businesses with top quality results.

How to add a Hierarchical Select field with FAPI for Drupal 7

Hello folks

Today I will share with you the way to add a taxonomy term field in a custom form for Drupal 7, using Hierarchical Select as widget render. 

In this example we will use a taxonomy/vocabulary to present all hierarchy.

Requirements:

  • Drupal 7
  • Taxonomy module
  • Hierarchical Select

Creating a form field:

Pages

Subscribe to Drupal Central America