Sometimes, I've had a rule that fails continually, because data on it is bad. Maybe it was created in development, maybe it's just gone rogue—data with a broken-off arrowhead lodged in its side, tearing through trees until, foam crusting its lips, it lays down to die. Here's what I would do. First, poke around in the queue table in the db. You can also get valuable info from the rules_scheduler table. I would set a breakpoint in common.inc in drupal_cron_run() right where $queue->claimItem() happens…
Read more about Deleted Undead Scheduler Queue EntriesThe view relationship for Flag module only allows you to set a single flag type as a target, which means only one flag type is available on a views row. My specific use case is adding flag/unflag links to the /admin/content page which I've replaced by a view with the Admin Views module. I ended up digging around quite a bit through Flag module's source code to pop this one out. The heart of it is in a views field template--one of your choosing…
Read more about Add Drupal 7 Flag/Unflag Links to View for All Available ActionsThe admin toolbar is a user's first look at Drupal. A complex, cluttered toolbar gives the n00b a sense that things in this site are too much to handle. A clean, well-curated interface that presents content tasks first gives the n00b a sense that Drupal is easy to use. Drupal 8 promises a simplified toolbar that gives the user this cozy sense of belonging. Default Drupal Toolbar The toolbar module is a big improvement over no toolbar at all…
Read more about Drupal 7 Administration Toolbar RoundupEver have wanted to import data into your Drupal site from JSON or a big ol' PHP array? You don't need to sweat all the gory details of matching up nodes and fields and coding massive for loops. Let the Drupal Feeds module do that for you. We're going to be uisng the Feeds Extensible Parsers module which provides a JSONpath expression analyzer…
Read more about Feeds Extensible Parsers JSONPath Tutorial: Map JSON to Drupal Fields