More slides, more images!
This commit is contained in:
parent
8afebcb827
commit
938b92a9a0
4 changed files with 68 additions and 3 deletions
|
@ -175,8 +175,8 @@ You now know enough to be dangerous.
|
||||||
#### We'll cover
|
#### We'll cover
|
||||||
|
|
||||||
* Hooks
|
* Hooks
|
||||||
* form_alter
|
* Form alter
|
||||||
* node_insert
|
* Node insert
|
||||||
* Plugins
|
* Plugins
|
||||||
* Block
|
* Block
|
||||||
* Formatter
|
* Formatter
|
||||||
|
@ -204,6 +204,7 @@ Doing something with a form? You want hook_form_alter() or one of its variants.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
## Learning to learn
|
## Learning to learn
|
||||||
|
|
||||||
* Drupal documentation
|
* 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?
|
||||||
|
|
||||||
|
[](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
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
{{% note %}}
|
{{% note %}}
|
||||||
find a contrib module that does it
|
find a contrib module that does it
|
||||||
|
@ -230,8 +247,41 @@ find a contrib module that does it
|
||||||
Should it be in a template
|
Should it be in a template
|
||||||
{{% /note %}}
|
{{% /note %}}
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
### When to make a module
|
||||||
|
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
{{% 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
|
### The Rest of the Internet
|
||||||
|
|
||||||
* Duck Duck Go (!g for Google results)
|
* Duck Duck Go (!g for Google results)
|
||||||
|
@ -242,6 +292,21 @@ Should it be in a template
|
||||||
{{% note %}}
|
{{% note %}}
|
||||||
{{% /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 %}}
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
BIN
content/images/ginger-howard-golf-swing.jpg
Normal file
BIN
content/images/ginger-howard-golf-swing.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 34 KiB |
BIN
content/images/lego-heart-missing-piece.jpg
Normal file
BIN
content/images/lego-heart-missing-piece.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 61 KiB |
BIN
content/images/rube-goldberg-tortoise.jpg
Normal file
BIN
content/images/rube-goldberg-tortoise.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 57 KiB |
Loading…
Add table
Add a link
Reference in a new issue