Drupal 7's positive integer validator
Ever written custom code to check if your textfield is a positive integer? I sure have. Then I found an easier way.
Ever written custom code to check if your textfield is a positive integer? I sure have. Then I found an easier way.
Ever needed to output your field collection items in a tabset, one item per tab? Customisable tab titles based on fields on the collection items? Then you need our latest contrib module Field Collection Tab formatter.
We recently migrated a large, popular radio site from a bespoke .NET application to Drupal. Migrating large amounts of content, users, tags, relationships and files is made easier with the migrate module. Here's how we did it.
Drupal's hook_field_instance_settings_form, hook_field_settings_form and hook_field_widget_settings_form are invoked without being passed the $form_state variable. This means you cannot perform ajax callbacks because you cannot access the current form state...... or can you?
Bean stands for Block Entities Aren’t Nodes and provides a new method of displaying content on a Drupal site. Still require some clarification as to what this module provides? I sure did when I first looked at Bean so I will take you through the basics of implementing your own module that takes advantage of Beans.
Drupal 8 comes with a brand new plugin system. This article provides a high-level overview of both the annotation and hook discovery mechanisms by examining a real world implementation in the form of core's Field API Widgets.
Media module comes with the media widget, by default this includes an 'Edit Media' button that allows the user to edit other fields on the file from the node edit form. This post covers removing the edit button from the media widget.
Taking data from Drupal to Solr is common-place these days with the well-established Apache Solr and Search API Solr modules. But what happens when you need to take data the other way. This article explores migrating legacy data from a Solr Index to Drupal nodes.
One of our clients is in the process of standardizing on Drupal for their various web-presences and micro-sites. This is inline with the ‘One Drupal to rule them all’ phenomenon Dries has written and presented on. In this case the client’s web presence is a mixture of php, Zend applications, Wordpress and various other non-PHP platforms.
Direct from DrupalDownunder 2012, PreviousNext developer Lee Rowlands explains how to roll your own fields, widgets and formatters (and why you'd want to).