kabu
kabu
FFilament
Created by kabu on 2/20/2025 in #❓┊help
Its possible to make a table layout for mobile devices and a layout for larger screens?
I am currently looking at the documentation for Layout Table builder but I cannot create two different layouts. On large screens it appears like on mobile.
2 replies
FFilament
Created by kabu on 2/20/2025 in #❓┊help
Table responsive, using Table Builder Layout
Its possible to make two layouts for sm and md ? for md screens i want this simple layout: public static function table(Table $table): Table { return $table ->columns([ Tables\Columns\TextColumn::make('id') ->label(('id')) ->searchable() ->sortable(), Tables\Columns\TextColumn::make('name') ->label(('name')) ->searchable() ->sortable(), Tables\Columns\TextColumn::make('name') ->label(('name')) ->description('') ->searchable() ->sortable(), Tables\Columns\TextColumn::make('email') ->label(('email')) ->searchable() ->sortable(), Tables\Columns\TextColumn::make('phone') ->label(('phone')) ->searchable() ->sortable(), Tables\Columns\TextColumn::make('phone2') ->label(('second_phone')) ->searchable() ->visibleFrom('md')//nomes es mostra en pantalles grans ->sortable(), Tables\Columns\TextColumn::make('clientCategory.name') ->label(__('category')) ->sortable() ->visibleFrom('md') ->toggleable(), ]) And for sm i want to stack name email and phone.
4 replies
FFilament
Created by kabu on 2/19/2025 in #❓┊help
Can't Translate Menu Item Using the EightyNine Reports Plugin
I'm having trouble translating the menu item in the EightyNine Reports plugin. The reports.php translation file works correctly, but the menu page does not seem to apply the translation. I'm using the following method to set the navigation group: public static function getNavigationGroup(): ?string { return __('reports'); } However, it always defaults to the English (en) language, even when the application's locale is set to another language.
2 replies
FFilament
Created by kabu on 2/18/2025 in #❓┊help
Its possible to set the panel color by database ?
No description
10 replies