Sami
03/21/2022, 8:49 AMifox
03/21/2022, 9:23 AMoleynikd
03/21/2022, 10:02 AMifox
03/21/2022, 10:05 AMoleynikd
03/21/2022, 10:47 AMifox
03/21/2022, 10:50 AMoleynikd
03/21/2022, 11:47 AManmsid
03/21/2022, 12:44 PM23r01nf1n17y
03/21/2022, 3:54 PMHarings Rob
03/21/2022, 3:58 PMHarings Rob
03/21/2022, 3:58 PM23r01nf1n17y
03/21/2022, 3:59 PMHarings Rob
03/21/2022, 4:04 PM23r01nf1n17y
03/21/2022, 4:13 PM@twillBlockIcon('foo-bar') => in resource_path('views/admin/icons') the file foo-bar.svg ???ifox
03/21/2022, 4:14 PMHarings Rob
03/21/2022, 4:15 PM23r01nf1n17y
03/21/2022, 4:16 PMifox
03/21/2022, 4:34 PM23r01nf1n17y
03/21/2022, 6:16 PM23r01nf1n17y
03/21/2022, 6:16 PM23r01nf1n17y
03/21/2022, 6:17 PMSami
03/21/2022, 6:56 PMtwill-navigation.php
php
'projectsPage' => [
'title' => 'Projects',
'route' => 'admin.projects.projectsPage',
'primary_navigation' => [
'projectsPage' => [
'title' => 'Site & SEO',
'singleton' => true
],
'projects' => [
'title' => 'Projects',
'module' => true
],
],
],
admin.php
php
Route::group(['prefix' => 'projects'], function () {
Route::singleton('projectsPage');
Route::module('projects');
});
EDIT: I should have used the prefix as the key in config, not name of one of the modules in the prefix group, so 'projects' => [...] works fineifox
03/21/2022, 7:43 PMHarings Rob
03/21/2022, 7:55 PM24C Felix
03/22/2022, 11:07 AMifox
03/22/2022, 11:09 AMblock_editor fields, you are giving a name to the field, so you can then use renderNamedBlocks instead of renderBlocks which renders the default block editor field.24C Felix
03/22/2022, 11:10 AMifox
03/22/2022, 11:13 AMifox
03/22/2022, 11:13 AM24C Felix
03/22/2022, 11:19 AM