Harings Rob
10/19/2021, 1:17 PMpboivin
10/19/2021, 1:29 PMHarings Rob
10/19/2021, 1:30 PMifox
10/19/2021, 1:31 PMHarings Rob
10/19/2021, 1:32 PMHarings Rob
10/19/2021, 1:34 PMHarings Rob
10/19/2021, 1:34 PM@foreach($block->children()->where('child_key', 'boxes')->get() as $child) ...
Or:
$block->renderChildren();Harings Rob
10/19/2021, 1:35 PMifox
10/19/2021, 1:39 PMrenderBlocks(false). You are correct that for now you need to loop over children manually. You should avoid calling the relationship with parenthesis though, as this will trigger a db query that will prevent previewing unsaved changes (->children is hydrated for you during blocks previews)Harings Rob
10/19/2021, 1:40 PMpboivin
10/19/2021, 1:40 PMRayderxx
10/19/2021, 2:12 PMRayderxx
10/19/2021, 2:12 PMpboivin
10/19/2021, 2:30 PMRayderxx
10/19/2021, 2:37 PMifox
10/19/2021, 3:04 PMRayderxx
10/19/2021, 3:30 PMafatmustafa
10/19/2021, 7:16 PMafatmustafa
10/19/2021, 7:16 PMafatmustafa
10/19/2021, 7:17 PMafatmustafa
10/19/2021, 7:18 PMifox
10/19/2021, 8:43 PMglide_cache folder?afatmustafa
10/19/2021, 8:45 PMifox
10/19/2021, 8:46 PMphp
'glide' => [
'source' => app(A17\Twill\Services\Cloud\Glide::class)->makeCloudSource(
env('GLIDE_SOURCE', 's3')
),
'cache' => app(A17\Twill\Services\Cloud\Glide::class)->makeCloudSource(
env('GLIDE_CACHE', 's3')
),
],ifox
10/19/2021, 8:47 PMAWS_KEY=
AWS_SECRET=
AWS_REGION=
AWS_BUCKET=
MEDIA_LIBRARY_IMAGE_SERVICE=A17\Twill\Services\MediaLibrary\Glide
GLIDE_DRIVER=imagickafatmustafa
10/19/2021, 8:52 PMafatmustafa
10/19/2021, 8:52 PMafatmustafa
10/19/2021, 8:52 PMafatmustafa
10/19/2021, 8:52 PM