benjamin melançon
Developer & Worker/Owner at Agaric Technology Collective
At https://agaric.coop my co-worker-owners and i use open source free software to give people and groups power over their online communication and web presence. To help all people gain power over our own lives, which we need to make progress toward justice and liberty, i volunteer at a not-for-profit organization called, and for, People Who Give a Damn— updates coming soon to https://pwgd.org
Note, that link for "Twitter" is safe to press without supporting/seeing "the nazi bar" of social media; it goes to my account on the fediverse: https://social.coop/@mlncn
Migrating from Drupal 7 to Drupal 10 (or 11 or 12 or whatever it is when you get around to it)
Channeling our colleague Mauricio Dinarte, we will help you Migrate Your Way to Modern Drupal Greatness
Don't let getting the content over stop you from moving to modern Drupal— whether from another version of Drupal or some other something else entirely, or a mixture of things.
We will:
- Introduce you to Drupal's Migrate API, which is the powerful Migrate module moved into core for Drupal 8.
- Show you how to upgrade your Drupal site with Migrate API, which is the official upgrade path for Drupal 6 and Drupal 7 sites upgrading to modern Drupal (versions 8 and above).
- Cover how to modify migrations from the automatic upgrade to account for a changed content model on your new site.
- Provide strategies for approaching migrating content from different sources into Drupal.
- Detail the steps for migrating from some common non-Drupal sources.
- Answer your questions to the best of our ability! Feel free to ask us ahead of time, and we'll try to incorporate it into the session.
Learning Objectives & Outcomes:
Have confidence in your ability to use Drupal's core Migrate API to bring in content from Drupal 7 databases, other databases, and flat files.
We might even throw in a little Python-powered preparation of decade-old HTML if you're all of hardy constitutions, but mostly we'll be covering how Drupal 10 (and a few helper modules) give you the tools to get content into your beautifully (re-)constructed Drupal 10 site.
When There's Not a Module for That: How to Make (and Maintain) a New Module
You've built sites with Drupal and know that with a few dozen modules (and a ton of configuring), you can do nearly everything in modern Drupal.
But what do you do when there's not a module for that? When the modules that exist don't meet your needs, and cannot be made to by contributing changes?
You make your own.
This session will help you take that step. All you need to do is write two text files. The first file tells Drupal about the module; it’s not code. The second file can have as little as three lines of code in it. Making a module is something that anyone can do. There are many (mostly simple) rules to follow and tons of tools to use—and lots of exploration to do. Every person developing a module is still learning.
Learning Objectives
In this session, you will:
* Learn how to decide when to make your own module.
* Write a module that plays well with Drupal core and other modules.
* Discover ways to explore the options for extending and overriding functionality provided by Drupal core and other modules.
Target Audience
People who have done some site building and run into limitations, or who simply want to try out developing with code.
Prerequisites
The only prerequsite is having done some site building with Drupal, and so having familiarity with Drupal configuration and its limits. Information gained will be equally relevant to any version of modern Drupal (8 through 10 and onward).
***
Draft (updates needed) presentation outline:
Part 1: Looking for modules - is there already a module for that? 5 minutes
Part 2: Contributing to an existing module - is there *almost* a module for that? 10 minutes
Part 3: Starting a new module - 25 minutes
- Considerations for writing a new module
- What tools are available?
Part 2: Contributing to an existing
* Add a feature, a "Mail" option to Social Simple: https://www.drupal.org/project/social_simple/issues/2899517
* Fix bugs, possible example https://www.drupal.org/project/comment_notify or https://www.drupal.org/project/tzfield/issues/2904016
* Upgrade to modern Drupal, possible example https://www.drupal.org/project/flatcomments
Part 3:
* A "one line" module (alter hook)
* A plugin module ("modern Drupal hooks")
* A module that was generated https://www.drupal.org/project/ckeditor_youtube/ - simple and used by many, and slowly got more complex
* A module bringing in a PHP library and getting crazy (started with simple field formatter, can use this or another module to demo that) - https://drupal.org/project/inotherwords