Pro Drupal 7 Development Study Group

pcher1bw's picture
2012-04-02 19:00 - 21:00 America/Los_Angeles
Event type: 
User group meeting

This is the kickoff meeting for a second spin of the Pro Drupal 7 Development Study group. Welcome to old and new attendees. Click the Signup button at to join this study group's mailing list.

This group discusses the subject matter of book, points out the errors in the book and discusses the differences between Drupal 6 and Drupal 7. There is no preparation for this week's group, but be prepared to read at least 2 chapters of the book for the following week.

What to bring

Just bring your laptop, your business cards or whatever else you need. You're also welcome to bring some light food, sodas or beers to share with others at the meetup.

Please note that our guest wireless network is limited to 1Mb per client, so bring your MiFi router or a phone you can tether with if for some reason you need a lot of bandwidth. Access to our high-speed network is included with a Droplabs membership.

Google Map

Location and directions

   651 Clover St.
   Los Angeles, CA 90031

Droplabs is in the Mission Junction neighborhood of Los Angeles at Big Art Labs, just 1 mile down Main St. from Philippes (the first-ever venue for LA Drupal meetups!) and Union Station. We're one block west of The Brewery, the largest live-and-work artists' colony in the world.

Free parking in our large parking lot is first-come, first-served. After parking in the lot, follow the yellow signs that point to Droplabs. (If our lot is full, you can park for free on Clover St.)

Droplabs is a brief walk from the Main St. / Lamar St. stop on the the Metro Local 76 bus line. To carpool or catch the Droplabs shuttle from Union Station, post below in the comments.

About Droplabs

Droplabs Los Angeles Droplabs is a collaborative Drupal event and coworking space in Downtown Los Angeles. Created in 2011 by LA Drupal members for the LA Drupal community, we are focused on serving the greater LA Drupal community, enriching the Drupal skills and lives of its members, and bringing joy to our Drupal practice. Our founders represent several local area businesses that have deep roots in the Drupal and open source communities.

We've been open to the public since May, 2011, and the use of our equipment and facilities, including conference room, tables and chairs, is free until our official launch. See for more details about our open beta period and for our list of free amenities and member perks, including our high-speed WiFi, an espresso machine, printer and scanner services, and more.

Droplabs is the host of the monthly Downtown LA Drupal meetups, LA Drupal's weekly Pro Drupal 7 Development book study group and special events including the Varnish 3 Release Party, a Leave GoDaddy Day workshop and LA Drupal's job fairs. To learn more about Droplabs, follow @Droplabs on Twitter, sign up at or like DroplabsLA on Facebook!

About LA Drupal

LA Drupal is one of the world's largest regional Drupal user groups and is Southern California's largest hub for all things Drupal. In addition to scheduling up to 7 regular meetups a month and occasional trainings and social gatherings, LA Drupal members produce special events, code sprints, and the annual DrupalCamp LA and Drupal Design Camp LA conferences.

Attending LA Drupal events is one of the best ways to meet and talk with other Drupaleros and we encourage you to attend meetings and special events regularly. Whether it's to find solutions to problems you've been having, sharing something you've learned or just meeting interesting like-minded people, the LA Drupal events are an essential resource for Drupal professionals and hobbyists alike.

If you aren't already part of LA Drupal, it's easy to become a member and find events in our community calendar at


smichelle's picture

... but would love to attend virtually. Will you be setting up a google hangout?


That is possible

mrjeeves's picture

I'll post here if I can get something working


The hangout

smichelle's picture

... so I'm posting this here in case this is checked for messages.

I'm stuck at work and will be late tonight. If I can make it I'll be there by 8:00pm ... if much later than that I will see you next week.

Will there be a mailing list for the study group setup?



Pro Drupal 7 Study Group

pcher1bw's picture

We meet weekly. I'm posting this on as well. I'll try to set up a mail list as well.

Paul Chernick
Chernick Consulting
(310) 569-2517


Tony-Mac's picture

Could someone please remind me what sort of module we are supposed to write for Monday nite.

I think it was supposed to

rgon's picture

I think it was supposed to alter the mail subject in Drupal. At least that's what I remember. Instead, I created a really simple module that stops all mail.

Hook mail alter!

Tony-Mac's picture

Hook Mail Alter.

Stew-bee's picture

One of the actions of the Inactive user module,, is to send an e-mail to users. The module has many different emails it can send. The body of the emails are editable through the module's admin interface. But the subject of the emails are hard coded. The assignment was to make the subject editable also.

endlesslupita's picture

Notes on April 23, 2012 Pro Drupal 7 Book Discussion

We had only four participants this week, so we focused primarily on the module we are modifying.

We have identified the following in the Inactive User Module:

Feature request:

  1. Subject of email cannot be changed.


  1. Mail keys for different emails are not unique.


  1. The menu doesn't show in the config page. (Fix is below. We will submit this formally soon.)

Other comments from the meeting:

In the interface (without Devel module), the shortest delay for sending the email is one week, which makes testing difficult. Using the Devel module is a good way to work on this module because it makes it easy to send out test emails.

The dpm function is for the Devel module.

Insert this function into the module code somewhere where it will get run and where the variable being printed is in scope. Example:


This goes above line 215 of the Inactive User Module.

Also, to fix the bug, change line 27 of the Inactive User Module to this:

$items['admin/config/people/inactive-user'] = array(

Effectively, insert "config" to that line.

This demonstrates content of a module inside your website if you have fixed the bug and installed the Devel module.

Some of the others in the group will add comments on their discussion on menus.

For next week, please read through chapter 5. We haven't added additional chapters yet.

rgon's picture

We had decided to work on the 7.x-1.x-dev version of inactive_user.

1) Install and enable the inactive_user as well as devel modules.
2) Create a new custom module for the purpose of changing the inactive_user mail subjects to custom text set in an administrative form.
3) In your custom module, use a hook_form_alter to modify the existing admin form from the inactive_user module. Add a textfield for the subject line. I showed how to find the form ID from either the page source or by using the devel module's dpm() function.
4) Test that your custom subject value is getting stored in the variables table using devel module's variable editor available in the development block.
5) Use a hook_mail_alter to modify the hardcoded subject line to the customized subject line.
6) Test using the devel module's PHP Execute page available in the development block. Use the drupal_mail() function to send the mail tests.

This is not a very elegant solution. Since the mail keys are not unique for each email, it would be better to submit a patch for the inactive_user module to fix that and custom subject at the same time. And get it's config link to show up as well.


Tony-Mac's picture

Excuse that last comment. I was in the middle of re-inventing the wheel.

Hi Study Group

Stew-bee's picture

After missing last week, I real wanted to make this week. But alas still finishing up for the day. I hope the group is going strong. I am hoping for next week to finally have things in line.

LA Drupal [Los Angeles Drupal]

Group events

Add to calendar

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week