diff --git a/content/_index.md b/content/_index.md index ff57c28..37fac14 100644 --- a/content/_index.md +++ b/content/_index.md @@ -175,8 +175,8 @@ You now know enough to be dangerous. #### We'll cover * Hooks - * form_alter - * node_insert + * Form alter + * Node insert * Plugins * Block * Formatter @@ -204,6 +204,7 @@ Doing something with a form? You want hook_form_alter() or one of its variants. --- + ## Learning to learn * Drupal documentation @@ -222,7 +223,23 @@ Where to start if i don't cover it in this session --- -### When not to make a module + +#### When not to make a module? + +[![Turtle with golf ball on spring contraption on back.](images/rube-goldberg-tortoise.jpg)](https://www.koreus.com/video/machine-rube-goldberg-lente.html) + +{{% note %}} +You can do anything with a module! Why wouldn't you make one every day? +{{% /note %}} + + + +--- + + +#### …when there's an easier way + +![Ginger Howard completing her swing after hitting a golf ball](images/ginger-howard-golf-swing.jpg) {{% note %}} find a contrib module that does it @@ -230,8 +247,41 @@ find a contrib module that does it Should it be in a template {{% /note %}} + --- + +### When to make a module + + +![Lego heart with a missing piece](images/lego-heart-missing-piece.jpg) + +{{% note %}} +You've identified to the best of your ability that there's definitely not something out there that does what you want to do. + +I personally do not advocate introspection at this point: Why am i trying to do something that no one else is trying to do? +{{% /note %}} + + +--- + + +#### Step 1: Write up what you plan to do + +[groups.drupal.org/contributed-module-ideas](https://groups.drupal.org/contributed-module-ideas) + +{{% note %}} +The module does not exist. + +I do not advocate self-reflection at this point + +Credit: lego heart is credited to Llama-Muffin-Kelly on DeviantArt but only see it on Pinterest +{{% /note %}} + + +--- + + ### The Rest of the Internet * Duck Duck Go (!g for Google results) @@ -242,6 +292,21 @@ Should it be in a template {{% note %}} {{% /note %}} +--- + +## Why contribute? + +* Right thing to do +* I asked you to +* People may contribute to it +* Someone may take it over and upgrade it or improve it greatly + +{{% note %}} +{{% /note %}} + + +--- + --- diff --git a/content/images/ginger-howard-golf-swing.jpg b/content/images/ginger-howard-golf-swing.jpg new file mode 100644 index 0000000..0858245 Binary files /dev/null and b/content/images/ginger-howard-golf-swing.jpg differ diff --git a/content/images/lego-heart-missing-piece.jpg b/content/images/lego-heart-missing-piece.jpg new file mode 100644 index 0000000..04f5289 Binary files /dev/null and b/content/images/lego-heart-missing-piece.jpg differ diff --git a/content/images/rube-goldberg-tortoise.jpg b/content/images/rube-goldberg-tortoise.jpg new file mode 100644 index 0000000..0dbfcb7 Binary files /dev/null and b/content/images/rube-goldberg-tortoise.jpg differ