user
08/25/2021, 12:23 PMuser
08/25/2021, 12:24 PMxbille
08/25/2021, 12:37 PMpboivin
08/25/2021, 12:44 PMifox
08/25/2021, 1:19 PM$item
is not set)ifox
08/25/2021, 1:20 PMAndrej
08/25/2021, 3:18 PMifox
08/25/2021, 3:20 PMAndrej
08/25/2021, 3:21 PMAndrej
08/25/2021, 3:23 PMifox
08/25/2021, 3:24 PMAndrej
08/25/2021, 3:28 PMxbille
08/26/2021, 5:14 AMgiuseppemastrodonato
08/26/2021, 2:48 PMpboivin
08/26/2021, 2:54 PMgiuseppemastrodonato
08/26/2021, 2:55 PMpboivin
08/26/2021, 3:00 PMgiuseppemastrodonato
08/26/2021, 3:05 PMpboivin
08/26/2021, 3:08 PMpboivin
08/26/2021, 3:08 PMphp artisan twill:make:module videos
with an existing Video model, Twill will generate all of the other parts of the module (view, controller, etc.) but will not override your existing model.giuseppemastrodonato
08/26/2021, 3:12 PMgiuseppemastrodonato
08/26/2021, 3:12 PMpboivin
08/26/2021, 3:13 PMuser
08/27/2021, 12:10 PMpboivin
08/27/2021, 12:53 PMuser
08/27/2021, 12:53 PMsapta34
08/28/2021, 5:11 AMpboivin
08/28/2021, 12:47 PMpboivin
08/28/2021, 12:51 PMform.blade.php
. Then, send the email from the afterSave()
hook in the module repository. You could mark the message as "sent" in a boolean or datetime DB column, to avoid sending a message multiple times. This is probably the easier option.
2. Create a custom CMS page to build your form, with a custom controller to receive the data and fire up the email. I think this option is more flexible but harder than 1.Shiftless
08/30/2021, 12:31 PM