Drupal is great. You can create just about any functionality without writing any code. You just download a module, right? “There’s a module for that” is the standard response to most Drupal questions. OK, which module? There are 6,877 actively maintained Drupal 7 modules at the time of writing. It can take a full day of creative, lateral-thinking Googling to find which module will do what you want and how to use it. Such was my plight this week trying to get an Autocomplete field to only offer user’s own content in when linking to other nodes through an Entity Reference field. Continue reading “Filtering Entity Reference Values in Autocomplete Field in Drupal 7”
Category: Drupal
Georeferenced Rich Content Management with Drupal 7
Introduction
If you want to manage a custom schema with a web interface with multiple users, multiple languages for UI and content, you could roll your own using something like CakePHP to provide a framework. Doing it that way, you’ll be re-inventing many wheels for user management, authentication, etc. I evaluated half a dozen ‘higher-level’ CMS and settled on Drupal since it has all of this infrastructure plus many mature add-ons (‘modules’) that mean that you can focus on implementing the specifics of your web application rather than writing lots of plumbing. Furthermore, it’s PHP so it’s easy to deploy on inexpensive hosted services on the internet (not something that you can say for Java-based CMS, for example). Continue reading “Georeferenced Rich Content Management with Drupal 7”
Renaming Field Names in Drupal 7 + PostgreSQL
Introduction
Currently there is no pointy, clicky way to change a field’s machine name once you’ve created it. With due credit to a blog post here I present a very simple script to create the SQL necessary to make the changes to the field name using PostgreSQL. Continue reading “Renaming Field Names in Drupal 7 + PostgreSQL”