LSTMal007
LSTMal007
FFilament
Created by LSTMal007 on 2/8/2024 in #❓┊help
CMS page with drag-and-drop tailwind CSS objects
Hello, I'm looking to create a simple CMS, when a new page is created, we can create the page based on the tailwind layout/grid structure using a drag-and-drop in the content section, so an editor/create. can display the main content of the page how they want it to be displayed on the front end, For example, row 1 has 2 cols image left text right, next row 3 cols image, image, image. Is there a plugin to handle this, or could someone help on how to achieve this? Cheers Mal
1 replies
FFilament
Created by LSTMal007 on 11/17/2023 in #❓┊help
Remove New Button
in a resource, after deleting the create and edit resource as per documents, is there a way to remove the New button from the list page?
6 replies
FFilament
Created by LSTMal007 on 11/17/2023 in #❓┊help
Restrict a navigation Item
Hello, could someone explain how I go about restricting a navigation item based on a basic user_type == from a field on the user table? I don't need an elaborate full-blown role, permissions, as it will be used by me and one other person. Cheers
8 replies
FFilament
Created by LSTMal007 on 11/14/2023 in #❓┊help
Repeater in generated forms
Newbie here, I have a form with 2 fields, name and status after reading the docs and running this
command php artisan make:filament-resource Brand --generate
command php artisan make:filament-resource Brand --generate
it creates the following:
public static function form(Form $form): Form
{
return $form
->schema([
Forms\Components\TextInput::make('brand')
->required()
->maxLength(255),
Forms\Components\Radio::make('status')
->options([
'1' => 'Published',
'0' => 'Offline'
])
->required(),
]);
}
public static function form(Form $form): Form
{
return $form
->schema([
Forms\Components\TextInput::make('brand')
->required()
->maxLength(255),
Forms\Components\Radio::make('status')
->options([
'1' => 'Published',
'0' => 'Offline'
])
->required(),
]);
}
Is it possible to add the Repeater to this Form, so I can create more than one in one go?
1 replies