Spokane Daytime Drupal Group - April 2 - ONLINE!

Events happening in the community are now at Drupal community events on www.drupal.org.
jhodgdon's picture
Start: 
2020-04-02 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, April 2, 2020, 10 AM to noon
Where
Due to the libraries being closed, this meeting will be held online in a Google Hangout:
https://hangouts.google.com/call/oitChOnn7W8ltwE8sx8xAEEF
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). However, the meeting could be canceled if the organizer isn't sure anyone is coming.
What
We spend two hours in a question and answer format, with the participants in Google Hangouts, where they can share their screens, talk, etc. 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!

Comments

Hangouts link

jhodgdon's picture

Please join the meeting at 10 AM with this link:
https://hangouts.google.com/call/oitChOnn7W8ltwE8sx8xAEEF

Thanks for setting this up!

cprofessionals's picture

Thanks for setting this up!

Meeting notes

jhodgdon's picture

Here's what we discussed today:

  • Next meeting in two weeks! I'll schedule it after I post this. We all agreed it seems like a good time to stay in touch more than usual.
  • If you have questions in between meetings, please post them on our group! Go to https://groups.drupal.org/spokane-wa (make sure you are logged in and have joined the group), and click "Create discussion" in the sidebar. Then be patient -- most of us in the group monitor the group, but in daily digest format, so we won't see your message immediately. Diane did one between our last meeting and today: https://groups.drupal.org/node/535850 -- so the ice has been broken!

    If you're having trouble or don't see the links, contact anyone else in the group... One thing that can cause problems is if you are not a "confirmed" user on drupal.org. If you can email someone else in the group a link to your user profile, any one of us should be able to "confirm" you, and that could fix your problems.

  • Events:
    - DrupalCon -- supposed to be in May but it will be postponed
    https://events.drupal.org/minneapolis2020/coronavirus-covid-19-disease-p...
    - PNW Drupal Summit -- https://pnwdrupalsummit.org/ -- postponed but we don't know when it will be rescheduled. Here's a post where you could probably suggest that it be held online:
    https://groups.drupal.org/node/535815
    - Other events may be happening online, so you could meet people from all over the world -- check https://groups.drupal.org/events?type%5B%5D=regional for events
  • Shawn highly recommends Cloudways for Drupal hosting and any hosting actually. It hides stuff he doesn't want to know, and makes it easy to do stuff he needs to do, and doesn't cost much. Good combination.
  • Diane had a question about Cloudways, was having trouble... Shawn demonstrated his process for setting up a Drupal site:
    1. Settings under Server Management:
      - Make sure you have the right version of PHP -- see https://www.drupal.org/docs/8/system-requirements
      - Make sure you have a high enough memory limit, like 1024 MB
      - Make sure you have a high enough execution time limit, like 180 seconds
    2. Create a Drupal application from the Cloudways site web interface (8.7 or the latest version)
    3. Open a terminal window to your public_html folder. Remove all the files (including hidden files) from public_html. Commands -- MAKE SURE YOU ARE IN THE RIGHT PLACE before running these:
        rm -rf *
        rm .*
       

      You may get some error messages, but afterwards you can do ls -a to verify that the folder is completely empty (you should only see the . and .. current/up one directories only in the ls output)
    4. Run this composer command from the public_html directory on the command line:
      composer create-project drupal/recommended-project .
    5. Within application settings, change the web root to point to public_html/web so that it will find the Drupal installation files. After changing this, click Reset Permissions under Application Settings.
    6. Then run a Drupal installation as normal (including creating the settings.php file etc.).
  • Project Gutenberg: this is an editor for WordPress that works on the concept of "blocks". The Drupal version is: https://www.drupal.org/project/gutenberg

    John had a question about creating a custom block type for Gutenberg:
    https://www.drupal.org/docs/8/modules/gutenberg/create-custom-blocks

    We looked at it... It looks like if you follow these instructions, you will create a sample block with these files:
    https://git.drupalcode.org/project/gutenberg/-/tree/8.x-1.x/modules/exam...

    Then you would need to edit various files... In addition to the files mentioned in the documentation page, look at js/index.es6.js (where you would put in your custom JS code).

    In the meantime, Shawn made a quick Drupal module that would do John's thing...

  • REST settings using JSON:API -- they work with the Drupal permissions. So the sequence is: The REST request comes in, and it must authenticate with a Drupal user account (or be an anonymous request). Then Drupal checks to see if the account you authenticated with has permission to do the operation you are trying to do, such as read or update content.
  • We did some troubleshooting -- Matt's site is not working with Quick Edit currently. Did not figure out the problem, but found some things to look into. Shwan is having problems on one site too. Hopefully they will post when one of them fixes it!
Momseekingbalance's picture

Thank you for taking such awesome notes, Jennifer. I just needed to add a bit to step 6 of setting up a Drupal site on a Cloudways server.

6. Then run a Drupal installation as normal (including creating the settings.php file etc.). 

   A. To create the settings.php file copy the default.settings.php file inside the site/default folder. Rename the file “settings.php”. 

    B. Open the file and copy lines 79 through 88, then paste them at the bottom of the file and remove the asterisks. Cloudways provides the database name, username, and password.  Copy and paste those fields in the appropriate places in the settings.php file. 

   C. Will also need to fix line 269 in that settings.php to say, “$settings['hash_salt'] = 'CHANGE_THIS';”. 

   D. Open the Cloudways database manager. Drop all the tables in the database that were provided with the default Drupal install that Cloudways provided. At this point, the Drupal installation can be finished.

for Mathew ... Quick Edit

cprofessionals's picture

for Mathew ...
Quick Edit breaks when used on a node with an entity reference field that renders the referenced entity
https://www.drupal.org/project/quickedit/issues/2319223

for Mathew ... Quick Edit

cprofessionals's picture

for Mathew ...
Quick Edit breaks when used on a node with an entity reference field that renders the referenced entity
https://www.drupal.org/project/quickedit/issues/2319223

Spokane, WA

Group notifications

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