Julien B. (aka yebor974)
Julien B. (aka yebor974)
FFilament
Created by Abi on 5/5/2025 in #❓┊help
Page Titles for the different Resource Pages
For the breadcrumb title, define $heading attribute or redefine getHeading() method.
public function getTitle(): string
{
return 'Viewing Design Job #XX';
}

public function getHeading(): string
{
return 'Design Job #XX';
}
public function getTitle(): string
{
return 'Viewing Design Job #XX';
}

public function getHeading(): string
{
return 'Design Job #XX';
}
11 replies
FFilament
Created by Abi on 5/5/2025 in #❓┊help
Page Titles for the different Resource Pages
if i understand you want a different value between the <h1> attribute (in breadcrumb) and the title of the page (<title></title>)
11 replies
FFilament
Created by Abi on 5/5/2025 in #❓┊help
Page Titles for the different Resource Pages
For example, if you make $title as "Test", the title attribute of your page becomes "Test - { Brand name of your panel}" What do you want as title ?
11 replies
FFilament
Created by Abi on 5/5/2025 in #❓┊help
Page Titles for the different Resource Pages
You need to define on each resource pages (Create, Edit, ...)., so you know the current state. You can't define it on master Resource class
11 replies
FFilament
Created by Abi on 5/5/2025 in #❓┊help
Page Titles for the different Resource Pages
Hi, on each resource page, you can define the title using the $title property or getTitle method:
protected static ?string $title = 'Test';
protected static ?string $title = 'Test';
public function getTitle(): string | Htmlable
{
return __('test_locale');
}
public function getTitle(): string | Htmlable
{
return __('test_locale');
}
11 replies
FFilament
Created by adnn on 4/28/2025 in #❓┊help
Drastic performance impact in the UI after migrating to PSQL
Could you share some queries and your associated edit form ?
8 replies
FFilament
Created by adnn on 4/28/2025 in #❓┊help
Drastic performance impact in the UI after migrating to PSQL
I never have issue on postgresql even with big databases. Just good indexes, good queries and sometimes partitions.
8 replies
FFilament
Created by adnn on 4/28/2025 in #❓┊help
Drastic performance impact in the UI after migrating to PSQL
532 queries, I think you have to optimise something 😅
8 replies
FFilament
Created by lukaveck1 on 3/28/2025 in #❓┊help
Can't download PDF using Spatie Laravel-pdf
Have you add Browsershot path params ?
8 replies
FFilament
Created by lukaveck1 on 3/28/2025 in #❓┊help
Can't download PDF using Spatie Laravel-pdf
I’m thinking about writing a short article on Filament Mastery about this topic to explain the setup more in detail. What do you think?
8 replies
FFilament
Created by lukaveck1 on 3/28/2025 in #❓┊help
Can't download PDF using Spatie Laravel-pdf
Here’s an example:
$browsershot
->setCustomTempPath(config('project.browsershot.customer_temp_path'))
->setNodeModulePath(config('project.browsershot.node_module_path'))
->setNodeBinary(config('project.browsershot.node_binary'))
->setNpmBinary(config('project.browsershot.npm_binary'))
->setChromePath(config('project.browsershot.chrome_path'));
$browsershot
->setCustomTempPath(config('project.browsershot.customer_temp_path'))
->setNodeModulePath(config('project.browsershot.node_module_path'))
->setNodeBinary(config('project.browsershot.node_binary'))
->setNpmBinary(config('project.browsershot.npm_binary'))
->setChromePath(config('project.browsershot.chrome_path'));
8 replies
FFilament
Created by lukaveck1 on 3/28/2025 in #❓┊help
Can't download PDF using Spatie Laravel-pdf
Hello, have you installed the dependencies like "puppeteer"? I'm using version ^17.1.3 for it to work. Also, in production, I need to add some parameters to Browsershot to set the associated paths.
8 replies
FFilament
Created by Mack H on 4/14/2025 in #❓┊help
Resolve Tenant before panel
5 replies
FFilament
Created by Fayne on 4/1/2025 in #❓┊help
What's the correct approach to load filament styles in a frontend page?
Maybe can help you
8 replies
FFilament
Created by Fayne on 4/1/2025 in #❓┊help
What's the correct approach to load filament styles in a frontend page?
8 replies
FFilament
Created by Florian on 3/27/2025 in #❓┊help
Changing background panel
7 replies
FFilament
Created by Cager on 3/14/2025 in #❓┊help
Multi tenancy file upload/edit
Hi. Do you have a web proxy. In console have you a cor error ?
3 replies
FFilament
Created by Matthew on 3/6/2025 in #❓┊help
Filament::auth()->login($user), multiple guards
Maybe this article cans help you : https://filamentmastery.com/articles/implementing-filament-auth-guard For testing i init panel in TestCase with : Filament::setCurrentPanel( Filament::getPanel(FilamentPanelEnum::BACKEND->value) ); And acting as with : $this->actingAs($member, Filament::getAuthGuard()); When you manage policy you can check permission like this if you use spatie permissions package: public function viewAny(User $user): bool { return $user->hasPermissionTo('view-any broker', filament()->getAuthGuard()); }
5 replies
FFilament
Created by Trauma Zombie on 2/12/2025 in #❓┊help
How to create form with Filament styles outside the panel?
I wrote an article on using Filament outside of panels if that can help you https://filamentmastery.com/articles/guide-to-using-filament-components-in-public-facing-pages You can next use form in a livewire component
7 replies
FFilament
Created by LordOfDrols on 1/15/2025 in #❓┊help
Add Elements to the TopMenu
9 replies