ifox
08/03/2022, 7:45 PMroutePrefix
parameter of the browser field is what you'd need to fix it.onepiece
08/03/2022, 7:47 PMonepiece
08/03/2022, 7:47 PMonepiece
08/03/2022, 7:48 PMonepiece
08/03/2022, 7:48 PMifox
08/03/2022, 7:48 PMonepiece
08/03/2022, 7:49 PMifox
08/03/2022, 7:50 PM'routePrefix' => 'industry'
Nano
08/03/2022, 10:38 PMNano
08/03/2022, 10:38 PM@extends('twill::layouts.form')
@section('contentFields')
@formField('radios', [
'name' => 'type',
'label' => 'Type',
'default' => 'image',
'inline' => true,
'options' => [
[
'value' => 'image',
'label' => 'image'
],
[
'value' => 'facebook',
'label' => 'facebook'
],
[
'value' => 'video',
'label' => 'video'
],
[
'value' => 'youtube',
'label' => 'youtube'
],
[
'value' => 'brightcove',
'label' => 'brightcove'
],
[
'value' => 'native-brightcove',
'label' => 'native-brightcove'
],
[
'value' => 'file',
'label' => 'file'
],
],
])
@formConnectedFields([
'fieldName' => 'type',
'fieldValues' => 'image',
'keepAlive' => false,
])
@formField('medias', [
'name' => 'gallery_item_image',
'label' => 'Image',
])
@endformConnectedFields
@formConnectedFields([
'fieldName' => 'type',
'fieldValues' => ['facebook', 'youtube', 'brightcove', 'native-brightcove'],
'keepAlive' => false,
])
@formField('input', [
'name' => 'url',
'label' => 'URL',
])
@endformConnectedFields
@stop
ifox
08/03/2022, 10:41 PMNano
08/03/2022, 10:41 PMNano
08/03/2022, 10:42 PMifox
08/03/2022, 10:50 PMNano
08/03/2022, 11:05 PMNano
08/03/2022, 11:06 PMNano
08/03/2022, 11:07 PMdakaalim
08/04/2022, 8:03 AMBlock gallery does not exists or the mandatory property 'title' was not found on this block. If you are still using blocks on the twill.php file, please check if the block is present and properly configured.
ifox
08/04/2022, 8:29 AMifox
08/04/2022, 8:30 AM24kappa
08/04/2022, 10:41 AM$permalinkBase
?24kappa
08/04/2022, 10:43 AMSami
08/04/2022, 12:01 PMcwsdigital/twill-metadata
to our project. The problem is this package requires twill ^2.2
however we are already experimenting with 3.0.0-alpha1
and thus there is a conflict.
How do I tell composer to ignore the ^2.2
requirement?ifox
08/04/2022, 12:07 PMSami
08/04/2022, 12:08 PMantonioribeiro
08/04/2022, 2:08 PM24kappa
08/04/2022, 3:22 PM24kappa
08/04/2022, 4:00 PM$item->translatedAttribute('title')[LaravelLocalization::getCurrentLocale()]
, there's a shorter way?antonioribeiro
08/04/2022, 4:15 PMifox
08/04/2022, 9:10 PM