user
07/06/2021, 10:32 AMuser
07/06/2021, 10:32 AMuser
07/06/2021, 10:33 AMifox
07/06/2021, 10:39 AMmediables
table? Twill is not going to render anything in a medias
field if it is not stored the way Twill does.user
07/06/2021, 10:41 AMuser
07/06/2021, 10:41 AMifox
07/06/2021, 10:45 AMuser
07/06/2021, 10:46 AMuser
07/06/2021, 10:46 AMuser
07/06/2021, 10:46 AMuser
07/06/2021, 10:47 AMphp
public $mediasParams = [
'cover' => [
'thumbnail' => [
[
'name' => 'free',
'ratio' => 0,
],
],
],
];
ifox
07/06/2021, 10:47 AMifox
07/06/2021, 10:47 AMuser
07/06/2021, 10:48 AMuser
07/06/2021, 10:48 AMuser
07/06/2021, 10:48 AMifox
07/06/2021, 10:48 AMuser
07/06/2021, 10:48 AMuser
07/06/2021, 10:49 AMuser
07/06/2021, 10:55 AMuser
07/06/2021, 12:54 PMBlock paragraph 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.
I've been following the tutorial videos step by step, after creating the views/admin/blocks/
folder with content inside it I'm unable to use php artisan
commands anymore.user
07/06/2021, 12:54 PMpboivin
07/06/2021, 1:00 PMphp artisan
?user
07/06/2021, 1:00 PMpboivin
07/06/2021, 1:05 PMtwill.php
config?ifox
07/06/2021, 1:06 PMtwill.php
file anymore.user
07/06/2021, 1:07 PMtwill.php
as
'block_editor' => [
'crops' => [
'project_image' => [
'default' => [
[
'name' => 'default',
'ratio' => 16 / 9
]
]
],
'past_project_image' => [
'default' => [
[
'name' => 'default',
'ratio' => 16 / 9
]
]
],
'variable_image' => [
'default' => [
'name' => 'default'
]
]
],
'blocks' => [
'quote' => [
'title' => 'Quote',
'icon' => 'quote',
'component' => 'a17-block-quote',
'rules' => [
'quote_text' => 'required'
]
],
'paragraph' => [
'title' => 'Paragraph',
'icon' => 'text',
'component' => 'a17-block-paragraph'
],
'paragraph_image' => [
'title' => 'Paragraph & Image',
'icon' => 'image-text',
'component' => 'a17-block-paragraph_image'
],
'project_detail' => [
'title' => 'Past Project Spotlight',
'icon' => 'content-editor',
'component' => 'a17-block-project_detail',
'rules' => [
'project_title' => 'required',
'project_url' => 'required|url',
'project_description' => 'required'
]
]
]
]
user
07/06/2021, 1:08 PMEdit: Got my answer.
user
07/06/2021, 1:11 PMblock
view? I've only got separate views which reference names from twill.php
inside views/admin/blocks
and the part which renders those blocks inside views/site/blocks
pboivin
07/06/2021, 1:14 PMtwill.php
, and use the @twillBlockX()
directives to configure directly in the Blade views