Kormi
05/31/2022, 1:33 PMpublic function prepareFieldsBeforeSave($object, $fields)
{
Mail::send('twill::emails.html.email', [
'url' => '#',
'actionText' => twillTrans('twill::lang.notifications.reset.action'),
'copy' => twillTrans('twill::lang.notifications.reset.content'),
], function ($message){
$message->to('info@kormiwebsolutions.it');
$message->subject(twillTrans('twill::lang.notifications.reset.subject', [
'appName' => config('app.name')
]));
});
return parent::prepareFieldsBeforeSave($object, $fields);
}
the email never arrives.
Also if I put a dd() ... from the console I still see that the response returns somethingkalle
05/31/2022, 1:34 PMkalle
05/31/2022, 1:34 PMKormi
05/31/2022, 1:35 PMKormi
05/31/2022, 1:35 PMkalle
05/31/2022, 1:37 PMkalle
05/31/2022, 1:47 PMcms-module.saved
when module is saved, but from that you can't get which model is updated.24C Felix
05/31/2022, 4:12 PMHarings Rob
05/31/2022, 4:30 PM24C Felix
05/31/2022, 4:33 PMHarings Rob
05/31/2022, 4:35 PM24C Felix
05/31/2022, 4:43 PMifox
05/31/2022, 7:01 PMifox
05/31/2022, 7:03 PMmediables
table24C Felix
05/31/2022, 7:38 PMifox
05/31/2022, 7:39 PMifox
05/31/2022, 7:40 PM24C Felix
05/31/2022, 7:41 PMdedli
06/01/2022, 6:51 AMHarings Rob
06/01/2022, 6:53 AMdedli
06/01/2022, 7:31 AMHarings Rob
06/01/2022, 7:32 AMHarings Rob
06/01/2022, 7:32 AMdedli
06/01/2022, 7:40 AM@formField('block_editor', [
'label' => 'Blok1',
'name' => 'bock1',
'blocks' => ['block1']
])
@formField('block_editor', [
'label' => 'Blok2',
'name' => 'bock2',
'blocks' => ['block2']
])
and so on
Or it is a bad way and better to put all data into the content of singleton and group them by sections?
Is it possible to limit by one block of one type?Harings Rob
06/01/2022, 8:08 AMdedli
06/01/2022, 8:38 AMdedli
06/01/2022, 9:09 AMifox
06/01/2022, 9:18 AMdedli
06/01/2022, 11:27 AMifox
06/01/2022, 11:28 AM