Spokane Daytime Drupal Group - November 21 - Argonne Library

Events happening in the community are now at Drupal community events on www.drupal.org.
jhodgdon's picture
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

jhodgdon's picture

What we talked about today:

  • Upcoming Events:
    - 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)
  • Your database server (MySQL or whatever) can get bogged down in the "semaphore" table, if some process that is getting data from outside, or is otherwise slow, becomes suddenly slower or non-responsive. Solution:
    - 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)
  • How to reset your site to just after it was installed:
    1. Figure out what database your site is using by looking at the settings.php file (which is usually in sites/default directory under your public_html or wherever your web root is, where your Drupal site files are located).
    2. Go into PHPMyAdmin. Find the database for your site. Select all the database tables and choose the action "Drop". This will completely empty your database.
    3. Go to your site URL. You should be prompted to install Drupal. If not, go to (your URL)/install.php. Reinstall.
  • New module for help topics in Drupal Core is coming out in Drupal 8.8! It is currently "Experimental" and has a limited number of topics, but module and theme developers can provide their own topics.
  • Drupal permissions page: Be careful about using the browser Back button and then submitting the Permissions page form to save permissions. You might lose permissions!
  • Running cron as a different user:
    - 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]
  • Business Rules module: https://www.drupal.org/project/business_rules
    Like Rules but different! For Drupal 8 only.
  • Multi-Cursor -- editing at multiple places at once. IDEs (development environments) and code editors have this feature for code editors (look at the help).
  • Google is making many of its services via an API key and charges, which used to be free. Examples: Translate, Maps, Natural Language.
  • Flutter: Google (open-source for now?) framework that makes Android, iOS, and JavaScript-based web applications from one source
  • Using Quick Edit within Views:
    - 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.
  • Drupal 7 end of life: November 2021
    https://www.drupal.org/psa-2019-02-25

Spokane, WA

Group notifications

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