Spokane Day-time Learn/Co-Work Group Oct 23

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
jhodgdon's picture
Start: 
2014-10-23 10:00 - 12:00 America/Los_Angeles
Organizers: 
Event type: 
User group meeting

We hope you can join us for the next meeting of the Spokane Day-Time Drupal Learning and Co-Working Group!

When
Thursday, October 23, 2014, 10 AM to noon
Sign up!
Log in and click the "Sign up" button, if you think you will be coming. You will be reminded the day before. The meeting will be canceled if not enough people sign up by the end of the day the Monday before the meeting. You can always click "Cancel signup" at a later time if your schedule changes and you can no longer come.
Where
Spokane County Library - Argonne branch, 4322 N. Argonne Road, Millwood. We meet in the large meeting room - enter from the door out in the hallway before you go into the area with the books
What
Learning and "co-working" time - bring your laptop, or watch on the projector screen. Come with a project you're working on, a desire to improve Drupal in some way (documentation, programming, design, marketing etc.), a question about Drupal you would like to get an answer to, or a desire to help others with their projects and questions. Or just come and listen and observe.
Who
Everyone is welcome -- the only prerequisite is having some interest in Drupal. This group is usually 5-10 friendly people, with experience levels ranging from novice to expert, so you'll fit right in. Because of the size of the group, you will have time to share something you've learned, or get your questions answered, or both!

Note: If you'd like to have a meeting at another time that is more convenient for you, please feel free to organize it! See http://groups.drupal.org/node/161584 for a Wiki where people have listed when would be convenient for them to have meetings.

Sign up now! Log in and click the "Sign up" button if you plan to come, or probably will come, to ensure the meeting actually takes place. The meeting will be canceled if not enough people sign up by the end of the day the Monday before the meeting.

Comments

Meeting notes

jhodgdon's picture

At today's meeting we discussed:

  • Took a look at Jon and Diane's nice shiny new responsive site: http://smartcities.com
  • The October 15 security vulnerability and how to fix it NOW: https://www.drupal.org/SA-CORE-2014-005
  • Set up a redirect from vegannook.com to www.vegannook.com, so that there is only 1 site and not two. We followed instructions in http://www.thesitewizard.com/apache/redirect-domain-www-subdomain.shtml
  • Diane mentioned that on the redesign of the library web site she is working on, she needed to use the JQuery Update module to update Drupal 7's version of JQuery, in order to use the Responsive Menus module. But it broke the Nice Menus module... the compromise was to tell JQuery Update to only update to JQuery 1.8.x and not to 1.10.x, which is compatible with both modules she wanted to use.
  • Jon wanted to integrate Act-On (email marketing) with Drupal, and they told him he needed to alter the user registration form, putting in a new ID. So, we did this in a few lines of code:
    • Figure out the form ID, which we did using Firebug. For the user register form, it is <form id="user-register-form" ..., meaning that the PHP form ID is "user_register_form".
    • Create a custom module, which I called jen (folder under sites/all/modules).
    • File jen.info:
      name = Jennifer Stuff
      description = Stuff for DUG demos
      core = 7.x
      version = 7.x-1.0
    • In the jen.module file:
      function jen_form_user_register_form_alter(&$form, &$form_state, $form_id) {
        $form['#id'] = 'something_else';

        // Jon needs to figure out how to attach JS here
        $form['#attached'] = array();

        $form['#submit'][] = 'jen_form_submit_to_acton';
      }

      function jen_form_submit_to_acton($form, &$form_state) {
        drupal_set_message(t('Hello world'));
      }

      This changes the form ID to "something_else". You'd need to replace this with the actual ID you need. It also puts up a message saying "Hello World" after a user registers.
  • Jon described what he's trying to do with ActOn and Salesforce and Drupal
  • Jennifer reported on the PNW Drupal Summit (last weekend): http://2014.pnwdrupalsummit.org/
  • Jose wanted to add a new feature to the museum web site: listing images for browsing and potentially sales. How? Here's an outline:
    • Create a new content type (admin > structure > content types)
    • Create one or more taxonomies for image category, medium, etc. (admin > structure > taxonomy). Add terms to each vocabulary you create (landscape, portrait, still life; painting, photo, sculpture).
    • Add fields to the content type (admin > structure > content types > (your content type) > manage fields): Image (upload), and each of the taxonomy vocabularies you created (these are called "Term Reference" fields)
    • Create a View for an image search page (admin > structure > views). In the Filters section, add filters for the taxonomy fields, and for each, check "Expose to users" so that users can filter the list of images using your categories.