Blog Archives

Twig Caching Issues in Acquia Cloud Enterprise

I’ve recently run into an issue where my site (on Acquia Cloud Enterprise) has node displays that were flip-flopping between an older version of a Twig template file, and the most recent version. I tried all combinations of drush cr,

Tagged with: , , ,
Posted in Uncategorized

Updating a MySQL Field Based on its Row’s Position in a Select

Let’s say you have the following data in a table: Now, what if we wanted to update the position value of each row to match the order if we were to sort by name…

Posted in Uncategorized

Creating Field Groups in a Custom Module

If you need your module to add a fieldgroup to your Drupal 7 site, follow this quick and easy process: Also, if you’re looking to create fields, see this related post. Build the fieldgroup through the “manage fields” UI. Modify the code

Tagged with: , , , ,
Posted in Uncategorized