tfilos
02/22/2022, 6:29 PMtfilos
02/22/2022, 6:31 PMimage, so from what I understand this should do it: public $mediasParams = [
'image' => [
'no_crop' => [
[
'name' => 'no_crop',
'ratio' => 0,
],
],
'default' => [
[
'name' => 'default',
'ratio' => 1,
],
],
'mobile' => [
[
'name' => 'mobile',
'ratio' => 1,
],
],
'flexible' => [
[
'name' => 'free',
'ratio' => 0,
],
[
'name' => 'landscape',
'ratio' => 16 / 9,
],
[
'name' => 'portrait',
'ratio' => 3 / 5,
],
],
],
];tfilos
02/22/2022, 6:46 PMtfilos
02/22/2022, 6:58 PMifox
02/22/2022, 6:59 PMtwill:refresh-crops commandtfilos
02/22/2022, 7:00 PMtfilos
02/22/2022, 7:00 PMamargoCactus
02/22/2022, 7:02 PMamargoCactus
02/22/2022, 7:03 PMamargoCactus
02/22/2022, 7:04 PMHarings Rob
02/22/2022, 9:21 PMamargoCactus
02/22/2022, 11:31 PMamargoCactus
02/22/2022, 11:32 PMamargoCactus
02/22/2022, 11:42 PMamargoCactus
02/23/2022, 6:25 AMHarings Rob
02/23/2022, 7:54 AMamargoCactus
02/23/2022, 2:52 PMresources/views/site/blocks, how can i access the data? i can't find how in the docsamargoCactus
02/23/2022, 2:52 PMpboivin
02/23/2022, 3:07 PM$blockdomihagen
02/23/2022, 4:46 PMRoute [admin.linkTo.edit] not defined.) and warning (Twill warning: The url for the "link_to" browser items can't be resolved. You might be missing a link_to key in your twill.block_editor.browser_route_prefixes configuration.). When i now look to the Browser, the edit-link on the selected Item is not working.
Is there any solution for that, wen the browser has multiple related modules?kalle
02/23/2022, 4:53 PMphp
@formField('browser', [
'endpoints' => [
[
'label' => 'Authors',
'value' => '/authors/browser',
],
[
'label' => 'Editors',
'value' => '/editors/browser',
],
],
'name' => 'collaborators',
'label' => 'Collaborators',
'max' => 4,
])domihagen
02/23/2022, 4:55 PMdomihagen
02/23/2022, 4:56 PM@formField('browser', [
'name' => 'link_to',
'label' => 'Button Link to',
'browserNote' => '',
'max' => 1,
'itemLabel' => 'Target',
'endpoints' => [
[
'label' => 'Pages',
'value' => route('admin.pages.pages.browser'),
],
[
'label' => 'Landingpages',
'value' => route('admin.pages.landingPages.browser'),
],
[
'label' => 'Program',
'value' => route('admin.study.programs.browser'),
],
[
'label' => 'Event',
'value' => route('admin.forms.events.browser'),
],
[
'label' => 'Success Story',
'value' => route('admin.modules.successStories.browser'),
],
],
'sortable' => false,
])domihagen
02/23/2022, 4:58 PMdomihagen
02/23/2022, 4:59 PM'successStories' => 'modules',. But does this work somehow for browsers with multiple modules?ifox
02/23/2022, 5:00 PMgetAdminEditUrlAttribute on your modelsifox
02/23/2022, 5:02 PMifox
02/23/2022, 5:02 PMifox
02/23/2022, 5:02 PMdomihagen
02/23/2022, 5:04 PM