tlegenbayangali
tlegenbayangali
FFilament
Created by tlegenbayangali on 11/11/2024 in #❓┊help
Plugin [awcodes/curator] is not registered for panel [customer].
Got it! Thanks for the answer.
6 replies
FFilament
Created by tlegenbayangali on 11/11/2024 in #❓┊help
Plugin [awcodes/curator] is not registered for panel [customer].
CustomerPanelProvider
public function panel(Panel $panel): Panel
{
return $panel
->plugin(
CuratorPlugin::make()
->label('Медиа')
->pluralLabel('Медиа')
->navigationIcon('heroicon-o-photo')
->navigationGroup('Галерея')
->navigationSort(3)
->navigationCountBadge()
->registerNavigation(true)
->defaultListView('grid')
);
}
public function panel(Panel $panel): Panel
{
return $panel
->plugin(
CuratorPlugin::make()
->label('Медиа')
->pluralLabel('Медиа')
->navigationIcon('heroicon-o-photo')
->navigationGroup('Галерея')
->navigationSort(3)
->navigationCountBadge()
->registerNavigation(true)
->defaultListView('grid')
);
}
6 replies
FFilament
Created by tlegenbayangali on 11/11/2024 in #❓┊help
Plugin [awcodes/curator] is not registered for panel [customer].
OperatorPanelProvider
public function panel(Panel $panel): Panel
{
return $panel
->plugins([
ActivitylogPlugin::make()
->navigationGroup('Logs')
->resource(ActivityResource::class)
->label('Logs'),
]);
}
public function panel(Panel $panel): Panel
{
return $panel
->plugins([
ActivitylogPlugin::make()
->navigationGroup('Logs')
->resource(ActivityResource::class)
->label('Logs'),
]);
}
6 replies
FFilament
Created by tlegenbayangali on 11/11/2024 in #❓┊help
Plugin [awcodes/curator] is not registered for panel [customer].
AdminPanelProvider
public function panel(Panel $panel): Panel
{
return $panel
->plugin(
CuratorPlugin::make()
->label('Медиа')
->pluralLabel('Медиа')
->navigationIcon('heroicon-o-photo')
->navigationGroup('Галерея')
->navigationSort(3)
->navigationCountBadge()
->registerNavigation(true)
->defaultListView('grid')
);
}
public function panel(Panel $panel): Panel
{
return $panel
->plugin(
CuratorPlugin::make()
->label('Медиа')
->pluralLabel('Медиа')
->navigationIcon('heroicon-o-photo')
->navigationGroup('Галерея')
->navigationSort(3)
->navigationCountBadge()
->registerNavigation(true)
->defaultListView('grid')
);
}
6 replies
FFilament
Created by tlegenbayangali on 9/18/2023 in #❓┊help
Translatable repeater in relation manager
Equipment.php
public $translatable = [
'exterior_options',
'interior_options',
'comfort_options',
'security_options',
];
protected $casts = [
'exterior_options' => 'array',
'interior_options' => 'array',
'comfort_options' => 'array',
'security_options' => 'array',
];
public $translatable = [
'exterior_options',
'interior_options',
'comfort_options',
'security_options',
];
protected $casts = [
'exterior_options' => 'array',
'interior_options' => 'array',
'comfort_options' => 'array',
'security_options' => 'array',
];
4 replies
FFilament
Created by tlegenbayangali on 9/18/2023 in #❓┊help
Translatable repeater in relation manager
Fields schema:
Forms\Components\Tabs\Tab::make(__('Exterior'))
->schema([
Forms\Components\Repeater::make('exterior_options')
->label(__('Exterior options'))
->defaultItems(0)
->schema([
Forms\Components\TextInput::make('option')
->required()
->label(__('Option'))
]),
]),

Forms\Components\Tabs\Tab::make(__('Interior'))
->schema([
Forms\Components\Repeater::make('interior_options')
->label(__('Interior options'))
->defaultItems(0)
->schema([
Forms\Components\TextInput::make('option')
->required()
->label(__('Option'))
]),
]),

Forms\Components\Tabs\Tab::make(__('Comfort'))
->schema([
Forms\Components\Repeater::make('comfort_options')
->label(__('Comfort options'))
->defaultItems(0)
->schema([
Forms\Components\TextInput::make('option')
->required()
->label(__('Option'))
]),
]),

Forms\Components\Tabs\Tab::make(__('Security'))
->schema([
Forms\Components\Repeater::make('security_options')
->label(__('Security options'))
->defaultItems(0)
->schema([
Forms\Components\TextInput::make('option')
->required()
->label(__('Option'))
]),
]),
Forms\Components\Tabs\Tab::make(__('Exterior'))
->schema([
Forms\Components\Repeater::make('exterior_options')
->label(__('Exterior options'))
->defaultItems(0)
->schema([
Forms\Components\TextInput::make('option')
->required()
->label(__('Option'))
]),
]),

Forms\Components\Tabs\Tab::make(__('Interior'))
->schema([
Forms\Components\Repeater::make('interior_options')
->label(__('Interior options'))
->defaultItems(0)
->schema([
Forms\Components\TextInput::make('option')
->required()
->label(__('Option'))
]),
]),

Forms\Components\Tabs\Tab::make(__('Comfort'))
->schema([
Forms\Components\Repeater::make('comfort_options')
->label(__('Comfort options'))
->defaultItems(0)
->schema([
Forms\Components\TextInput::make('option')
->required()
->label(__('Option'))
]),
]),

Forms\Components\Tabs\Tab::make(__('Security'))
->schema([
Forms\Components\Repeater::make('security_options')
->label(__('Security options'))
->defaultItems(0)
->schema([
Forms\Components\TextInput::make('option')
->required()
->label(__('Option'))
]),
]),
4 replies
FFilament
Created by tlegenbayangali on 9/3/2023 in #❓┊help
reactive() vs. live(). what`s the difference?
thank you very much for your answer! the new method confused me a little, since previously there was only one reactive()
6 replies
FFilament
Created by shafiqruslan on 9/2/2023 in #❓┊help
How to make a wizard full width?
I do not remember exactly. I think I saw it in the phpstorm hints.
7 replies
FFilament
Created by shafiqruslan on 9/2/2023 in #❓┊help
How to make a wizard full width?
->columnSpanFull
7 replies