Bloom
Resource not in sidebar
I have installed new filament application and Resources is not appearing in navigation menu. I have read from this trick https://v2.filamentphp.com/tricks/admin-panel-resource-not-in-sidebar but i don't have any policy on my app.
19 replies
Backgrounds plugin by SWIS
I try to use this plugin by SWIS https://filamentphp.com/plugins/swisnl-backgrounds#remember which is a background changer on auth page. I can see it on the local server but no image is shown on live shared hosting server
2 replies
Help on table eloquent relationship
I have Sale and Branch Model with one to Many relationship. I made custom page with query like
But unfortunately no result came. I tried debugging using debug bar but no query regarding this join is visible
2 replies
Custom Theme Error
What i did: I already create a project and on that i install custom theme according to the documentation https://filamentphp.com/docs/3.x/panels/themes
So i got the error :
[postcss] Cannot find module 'postcss-nesting'
Require stack:
- C:\Users\Cyber\code\baptistbookroom\node_modules\tailwindcss\lib\postcss-plugins\nesting\plugin.js
- C:\Users\Cyber\code\baptistbookroom\node_modules\tailwindcss\lib\postcss-plugins\nesting\index.js
- C:\Users\Cyber\code\baptistbookroom\node_modules\tailwindcss\nesting\index.js
- C:\Users\Cyber\code\baptistbookroom\postcss.config.js
I know its not entirely filament problem but if anyone can help me I would be really glad
2 replies
custom login page with custom background
i have made a custom Login page according to this docs https://filamentphp.com/docs/3.x/panels/users#customizing-the-authentication-features
i also extends the custom login view blade file, but i want to change the background of the login page
:
<div class=" bg-gradient-to-r from-cyan-500 to-blue-500">
{{$this->form}}
</div>
:
The form is rendered but the tailwind class is not shown
8 replies
Table tabs from database
I looked at the demo application and see the below tab on the table but instead of passing static value i want to retrieve fom the database.
:
public function getTabs(): array
{
return [
null => ListRecords\Tab::make('All'),
'new' => ListRecords\Tab::make()->query(fn ($query) => $query->where('status', 'new')),
'processing' => ListRecords\Tab::make()->query(fn ($query) => $query->where('status', 'processing')),
'shipped' => ListRecords\Tab::make()->query(fn ($query) => $query->where('status', 'shipped')),
'delivered' => ListRecords\Tab::make()->query(fn ($query) => $query->where('status', 'delivered')),
'cancelled' => ListRecords\Tab::make()->query(fn ($query) => $query->where('status', 'cancelled')),
];
}
instead of new, processing, etc. i want to get a branch name
6 replies