Spokane Web Technology Group - June 25 - Online [formerly Spokane Daytime Drupal Group]

Events happening in the community are now at Drupal community events on www.drupal.org.
jhodgdon's picture
Start: 
2020-06-25 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 Web Technology Group! We are currently meeting every two weeks online.

Note: We decided at our last meeting to change the name of our group from Spokane Daytime Drupal Group to Spokane Web Technology Group, to reflect our interest in and willingness to discuss web technology topics that are unrelated to Drupal if they come up.

When
Thursday, June 25, 2020, 10 AM to noon
Where
Due to the libraries being closed, this meeting will be held online in a Google Hangout (link will be posted 10-15 minutes before the meeting -- check back).
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 up to two hours in a question and answer format, with the participants in Google Hangouts, where they can share their screens, talk, etc. Most participants do not turn on video on for the meeting. 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 or other web technology. 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

cannot make it

jhodgdon's picture

I just looked at my calendar, doh! I cannot make this meeting (surgery followup). Shawn had already said he could set it up, so I hope you all have a good meeting!

Are we meeting this morning?

Momseekingbalance's picture

Checking in to see if we are meeting this morning. =)

Meeting notes

jhodgdon's picture

After a few minute delay, we had a lively meeting today with lots of questions and answers. Here is what we discussed:

  • Next meeting in two weeks! I'll schedule it after I post this.
  • Events:
    - DrupalCon -- Will be online -- July 14-17
    https://events.drupal.org/global2020/
    - 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
  • Drupal 9 is out! Drupal 7 end of life is now extended to November 2022.
  • Translation/internationalization:
    - In Drupal 8, there is excellent support in Core for making a multilingual site
    - In Drupal 7, you need the Internationalization module, and perhaps additional
    modules: https://www.drupal.org/project/i18n
    - Documentation for the Drupal 7 module: https://www.drupal.org/node/133977
    - In general, you need to translate content, configuration, and user interface text to have a completely internationalized site. Here's an overview of that:
    https://www.drupal.org/docs/user_guide/en/language-concept.html
    - Documentation for how to internationalize in Drupal 8:
    https://www.drupal.org/docs/user_guide/en/multilingual-chapter.html
    https://www.drupal.org/docs/multilingual-guide
  • Customizing things in WordPress: Be sure that you are putting changes that involve PHP files into either a custom theme or a custom plugin. Anything that is in the wp-includes folder, or anything else outside of wp-content (which is where your uploaded images, plus plugins and themes, are stored) will be overwritten when you update WordPress to a new version. So be careful following instructions you find online. Also if you need to add to a theme or plugin that you downloaded, that could get overwritten if you update to a new version.

    An easy fix is to make a child theme of the theme you downloaded. Then make your changes in the child theme.
    https://developer.wordpress.org/themes/advanced-topics/child-themes/

  • Using Cloudways to clone a site -- It will do the right thing for both Drupal and WordPress -- clone the database, and modify your settings.php or wp-config.php file so that it points to the right URL and database.
  • Shawn has tried a couple of upgrades of Drupal 8 sites to Drupal 9. Some went well; one is not working yet because some contributed modules are not updated yet. Check out the meeting notes from our previous meeting for more on updating.
  • Jon has a site that uses Domain Access, which lets you have multiple subdomains running off the same site. They wanted to have a site with a completely different domain, but Domain Access didn't work with that.
    https://www.drupal.org/project/domain

    Shawn got this to work by adding some code in the settings.php file for the site to set the PHP cookie domain to the domain being used, and voila!

    Here is the code:

    //OLD CODE
    $cookie_domain = '.FIRST_DOMAIN.com';

    //NEW CODE
    if (isset($_SERVER['HTTP_HOST']) && substr_count($_SERVER['HTTP_HOST'], 'FIRST_DOMAIN.com') > 0) {
      $cookie_domain = '.FIRST_DOMAIN.com';
    }
    if (isset($_SERVER['HTTP_HOST']) && substr_count($_SERVER['HTTP_HOST'], 'SECOND_DOMAIN.com') > 0) {
      $cookie_domain = '.SECOND_DOMAIN.com';
    }

    Then you need to save the EU Cookie Configuration for each domain in:
    Advanced-> Domain
    in the Domain Access settings.

  • Jennifer gave a quick demo of a task that people can do, to contribute to the Drupal project. This task involves editing "Skills" pages, which will describe skills that contributors can use, and will link them to tasks they can do that use or improve the skills. The page also lists resources people can use to improve their skill level.

    It takes about 10-20 minutes to edit a skill page, and you can do a partial edit if you don't have all the answers. Here's a write-up on how to do this:
    https://www.drupal.org/community/contributor-guide/task/temporary-write-...

  • Shawn demoed how he connected John's JavaScript code to a Drupal page.
  • He also gave us a tour of his new store!

Spokane, WA

Group notifications

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