Posted by jhodgdon on October 21, 2019 at 1:06pm
Start:
2019-11-21 10:00 - 12:00 America/Los_Angeles Organizers:
Event type:
User group meeting
We hope you can join us for the next daytime meeting of the Spokane Drupal User Group!
- When
- Thursday, November 21, 2019, 10 AM to noon
We usually meet on a Thursday morning at a library out in the Spokane Valley area. Log in and join the Spokane Drupal User Group (see sidebar on https://groups.drupal.org/spokane-wa ) to be notified of future meetings, events, and discussions (typically just a few email messages per month).
- Where
- Spokane County Library - Argonne branch, 4322 N Argonne Rd, Millwood. We are back in the (large) meeting room. Come in the door from the parking lot, and go down to the other end of the hallway (don't go into the part of the library where the books, checkout desk, etc. are).
- To be reminded, sign up!
- To receive an email reminder closer to the date of the meeting, log in and click the "Sign up" button; log in and click "Cancel signup" at a later time if your schedule changes and you can no longer come. There's no obligation to come if you sign up (but we hope you will!). There's also no obligation to sign up in order to come (it's up to you if you want a reminder or not).
- What
- We spend two hours in a question and answer format, with the participants around a table, and a laptop with a projector. Come with questions about a project you're working on, something you've learned that you'd like to share with others, a desire to improve Drupal in some way (documentation, programming, design, marketing etc.), 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!
- Need a ride?
- If transportation is keeping you from attending, please log in and post a comment here. Our usual attendees come from all around the area: downtown Spokane, South Hill, Mead, Hayden, Spokane Valley, Post Falls, etc. So, we can probably find someone to give you a ride without going too much out of their way.

Comments
Meeting notes
What we talked about today:
- Pacific Northwest Drupal Summit - Seattle - March 28-29, 2020. See https://pnwdrupalsummit.org/ to sign up for the newsletter and announcements. It's a great event -- I recommend that everyone go!
- There is a calendar for other Drupal events:
https://groups.drupal.org/events
and for DrupalCon in particular: https://events.drupal.org/ (next one is in Minneapolis)
- Better error checking in your custom module that caused the problem
- Turn off the custom module if it is causing problems
- https://www.drupal.org/project/flood_seam helped to identify the problem
- https://drupal.stackexchange.com/questions/197603/in-a-general-sense-wha... article about the semaphore table
- General articles about semaphores:
https://en.wikipedia.org/wiki/Semaphore_%28programming%29 (programming)
https://en.wikipedia.org/wiki/Flag_semaphore (flag signaling for boats)
- Discussed what Cron is: https://www.drupal.org/docs/user_guide/en/security-cron-concept.html
- Cron jobs run as the Anonymous user normally
- Sometimes you might need something in cron to run as a logged-in user
- Solutions:
https://drupal.stackexchange.com/questions/84268/use-hook-cron-to-send-d... [use Elysia Cron or Rules to switch user]
https://drupal.stackexchange.com/questions/183354/how-do-i-run-cron-as-a... [programming]
Like Rules but different! For Drupal 8 only.
- You can define your own view modes under Admin > Structure > Display modes > View modes
- Then go to Manage Display for your content type, scroll to the bottom, and make sure your view mode is "customized" in the "Custom display settings" section.
- Then click on your view mode name under Manage Display and set up your fields and labels
- Now in your view, instead of displaying Fields, display Content and then choose which view mode to use.
- Now when you are looking at your view page/block, you can use the core Quick Edit module to edit the content without going to the node/edit page.
https://www.drupal.org/psa-2019-02-25
Drupal programmer - http://poplarware.com
Drupal author - http://shop.oreilly.com/product/0636920034612.do
Drupal contributor - https://www.drupal.org/u/jhodgdon