Harings Rob
03/07/2022, 11:08 AMads
03/07/2022, 11:09 AMads
03/07/2022, 11:10 AMpublic $mediasParams = [
'cover' => [
'default' => [
[
'name' => 'default',
'ratio' => 16 / 9,
],
],
'mobile' => [
[
'name' => 'mobile',
'ratio' => 1,
],
],
'flexible' => [
[
'name' => 'free',
'ratio' => 0,
],
[
'name' => 'landscape',
'ratio' => 16 / 9,
],
[
'name' => 'portrait',
'ratio' => 3 / 5,
],
],
],
'additional' => [
'default' => [
[
'name' => 'default',
'ratio' => 16 / 9,
],
],
'mobile' => [
[
'name' => 'mobile',
'ratio' => 1,
],
],
'flexible' => [
[
'name' => 'free',
'ratio' => 0,
],
[
'name' => 'landscape',
'ratio' => 16 / 9,
],
[
'name' => 'portrait',
'ratio' => 3 / 5,
],
],
],
];Harings Rob
03/07/2022, 11:11 AMads
03/07/2022, 11:18 AMads
03/07/2022, 11:21 AMHarings Rob
03/07/2022, 11:21 AMHữu Hiếu
03/07/2022, 11:22 AMkalle
03/07/2022, 11:23 AMkalle
03/07/2022, 11:24 AMHữu Hiếu
03/07/2022, 11:26 AMkalle
03/07/2022, 12:18 PMfiles input form dont work in create.blade.php?
php
@formField('input', [
'name' => $titleFormKey ?? 'title',
'label' => 'Name of the product',
//'translated' => true,
'required' => true,
'onChange' => 'formatPermalink'
])
@formField('files', [
'name' => 'single_file',
'label' => 'Single file',
'note' => 'Add one file (per language)'
])Harings Rob
03/07/2022, 12:23 PMkalle
03/07/2022, 12:24 PMHarings Rob
03/07/2022, 12:30 PMkalle
03/07/2022, 12:34 PMHữu Hiếu
03/07/2022, 12:52 PMkalle
03/07/2022, 12:55 PMApp\Http\Requests\Admin\YourmoduleRequest.php to perform validation on fields.Luís Novais
03/07/2022, 2:27 PMHarings Rob
03/07/2022, 3:02 PMLuís Novais
03/07/2022, 3:17 PMHarings Rob
03/07/2022, 3:19 PMLuís Novais
03/07/2022, 4:12 PMHarings Rob
03/07/2022, 5:16 PMkalle
03/07/2022, 6:30 PMprimary_navigation?kalle
03/07/2022, 6:30 PMpboivin
03/07/2022, 7:21 PMkalle
03/07/2022, 7:23 PMkalle
03/07/2022, 7:23 PMpboivin
03/07/2022, 7:24 PMtwill-navigation.php and routes/admin.php? The parts that are relevant to your custom page.