Blog Archives

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