ifox
06/30/2021, 5:00 PMSami
06/30/2021, 5:03 PMifox
06/30/2021, 5:05 PMuser
07/02/2021, 9:44 AMYour submission could not be validated please fix and retry
pops up? How do I find the source of the error?ifox
07/02/2021, 10:26 AMuser
07/02/2021, 12:09 PMcreate.blade.php
but I'm still missing a title on the 'show_all_templates' view. How do I rewrite that view to show my custom title
field?ifox
07/02/2021, 12:11 PM$titleColumnKey
and $indexColumns
in the controlleruser
07/02/2021, 12:31 PMifox
07/02/2021, 12:35 PMuser
07/02/2021, 12:35 PM$this->indexColumns += [
'name' => [
'title' => 'Name',
'fieldName' => 'Name',
'field' => 'name',
],
];
ifox
07/02/2021, 12:37 PMifox
07/02/2021, 12:38 PMuser
07/02/2021, 1:03 PMuser
07/02/2021, 1:05 PMprotected $titleColumnKey = 'name';
// protected $defaultOrders = ['name' => 'asc'];
protected $defaultIndexOptions = [
'create' => true,
'edit' => true,
'publish' => true,
'bulkPublish' => true,
'feature' => false,
'bulkFeature' => false,
'restore' => true,
'bulkRestore' => true,
'forceDelete' => true,
'bulkForceDelete' => true,
'delete' => true,
'duplicate' => true,
'bulkDelete' => true,
'reorder' => false,
'permalink' => true,
'bulkEdit' => true,
'editInModal' => true,
];
public function __construct(Application $app, Request $request)
{
parent::__construct($app, $request);
$this->indexColumns['title'] = [
'title' => 'Name',
'field' => 'name',
'sort' => false,
];
}
user
07/02/2021, 1:06 PMuser
07/02/2021, 1:07 PMmedia
type field, yet when I set-up the validator inside the Request for either create or edit, I keep getting the 'image field is required message', even though the image has been uploaded.user
07/02/2021, 1:08 PMpublic function rulesForCreate()
{
return [
"name" => "string|max:180|required",
//"image" => "required"
];
}
user
07/02/2021, 1:08 PMuser
07/02/2021, 1:11 PM$mediasParams
settings.user
07/02/2021, 1:11 PMwidth
/ medium
/ destroy
of undefined.ifox
07/02/2021, 1:17 PMmedias
array keyed by the image role nameifox
07/02/2021, 1:19 PMuser
07/02/2021, 1:21 PMpboivin
07/02/2021, 1:24 PMmedias
field corresponds to what you have defined in $mediasParams
?user
07/02/2021, 1:24 PMform.blade.php
+ create.blade.php
the name is the same 'cover' (the default one)ifox
07/02/2021, 1:25 PMcreate
modalifox
07/02/2021, 1:26 PMuser
07/02/2021, 1:26 PMform.blade.php
either. I just downloaded skype logo as well just to give it a test regarding the metadata, but it still gives the same error.user
07/02/2021, 1:27 PMform.blade.php
to be a modal as welluser
07/02/2021, 1:27 PM