03. Page configuration
-
Filament page class (default:
\Buildix\Timex\Pages\Timex::class
)'pages' => [ 'timex' => \Buildix\Timex\Pages\Timex::class,
You may create your own filament page and extend
Buildix\Timex::class
All available methods on the parent page, you can override on your created page -
String (default:
timex
)'pages' => [ 'slug' => 'timex',
Slug is used to define the url of your calendar page
-
String (default:
timex
)'pages' => [ 'group' => 'timex',
Group defines filament navigation group item. You may change it to whatever you want in order to group your navigation items as you wish
-
Integer (default:
0
)'pages' => [ 'sort' => 0,
Filament group navigation sorting
-
Boolean (default:
true
)'pages' => [ 'shouldRegisterNavigation' => true,
If it's
true
, TiMEX page & TiMEX filament resource will be registered on your navigation panel -
Boolean (default:
false
)'pages' => [ 'enablePolicy' => false,
If it's
true
, optionshouldRegisterNavigation
will be ignored and access to TiMEX page & TiMEX filament resource will be configured in accordance with your laravel policies made for TiMEX event model -
String (default:
xl
)'pages' => [ 'modalWidth' => 'xl',
You may change the width of event creation / edit & view on the TiMEX page from
xs
-7xl
-
Boolean (default:
true
)'pages' => [ 'icon' => [ 'static' => true, ],
If it's
true
, default TiMEX icon will be used on the navigation panel, if it'sfalse
, dynamic icon for the day will be used instead -
String (default:
timex-timex
)'pages' => [ 'icon' => [ 'timex' => 'timex-timex', ],
Default TiMEX icon, you may change it to any other installed icon packages for the static icon on your navigation panel
-
Boolean (default:
false
)'pages' => [ 'label' => [ 'navigation' => [ 'static' => false, ],
If it's
true
, the navigation label will be changed from current day label to static stated inlang/timex.php
-
Carbon formatter (default:
dddd, D MMM
)'pages' => [ 'label' => [ 'navigation' => [ 'format' => 'dddd, D MMM', ],
You may change how the navigation label displayed in accordance with Carbon formats
Same applied for breadcrumbs & page title