TheRealTeeHill
TheRealTeeHill
FFilament
Created by aksl on 11/8/2024 in #❓┊help
Filament - Google maps
just thought you might get a better / faster answer in there 🙂
5 replies
FFilament
Created by aksl on 11/8/2024 in #❓┊help
Filament - Google maps
@aksl maybe good to ask in the plugin channel #google-maps 🙂
5 replies
FFilament
Created by TheRealTeeHill on 9/28/2024 in #❓┊help
Why does my filter icon not look right?
On mine there’s a gap
6 replies
FFilament
Created by TheRealTeeHill on 9/28/2024 in #❓┊help
Why does my filter icon not look right?
No description
6 replies
FFilament
Created by TheRealTeeHill on 9/28/2024 in #❓┊help
Why does my filter icon not look right?
@awcodes isn’t badge supposed to be “on top” of the filter icon. I’ll get screengrab from the docs
6 replies
FFilament
Created by mile4841 on 8/27/2024 in #❓┊help
How to order naviation groups
@MilenKo are you wanting to use an icon for the nav group and for the nav group sub-items? as I don't think you can do that...? For the nav group part, I will need to take another look this weekend 👍
14 replies
FFilament
Created by mile4841 on 8/27/2024 in #❓┊help
How to order naviation groups
so maybe there is something overriding it, maybe post your entire AdminPanelProvider
14 replies
FFilament
Created by mile4841 on 8/27/2024 in #❓┊help
How to order naviation groups
in AdminPanelProvider I use
->navigationGroups([
'Z',
'X',
'Y',
])
->navigationGroups([
'Z',
'X',
'Y',
])
and it shows Z first in the nav
14 replies
FFilament
Created by mile4841 on 8/27/2024 in #❓┊help
How to order naviation groups
you can also do it like this in AdminPanelProvider.php if you don't need the functionality from NavigationGroup::make 🙂
$panel->navigationGroups([
'Nav Group 1',
'Nav Group 2',
'Nav Group 3',
])
$panel->navigationGroups([
'Nav Group 1',
'Nav Group 2',
'Nav Group 3',
])
14 replies
FFilament
Created by TheRealTeeHill on 8/20/2024 in #❓┊help
Pass URL parameter from Page to Widget
I figured it out... In the page I have this:
public function mount(Request $request)
{
$this->fleet = $request->query('fleet', null);
}

protected function getHeaderWidgets(): array
{
return [
VesselLocationGoogleMapWidget::make([
'fleet' => $this->fleet,
]),
];
}
public function mount(Request $request)
{
$this->fleet = $request->query('fleet', null);
}

protected function getHeaderWidgets(): array
{
return [
VesselLocationGoogleMapWidget::make([
'fleet' => $this->fleet,
]),
];
}
and in the widget:
public ?string $fleet = null;

if ($this->fleet) {
$locations = VesselLocation::latestLocations()
->whereHas('vessel.fleet', function ($query) {
$query->where('name', $this->fleet);
})
->with('vessel', 'vessel.fleet')
->get();
} else {
$locations = VesselLocation::latestLocations()->with('vessel', 'vessel.fleet')->get();
}
public ?string $fleet = null;

if ($this->fleet) {
$locations = VesselLocation::latestLocations()
->whereHas('vessel.fleet', function ($query) {
$query->where('name', $this->fleet);
})
->with('vessel', 'vessel.fleet')
->get();
} else {
$locations = VesselLocation::latestLocations()->with('vessel', 'vessel.fleet')->get();
}
maybe there is a better way?
3 replies
FFilament
Created by TheRealTeeHill on 8/6/2024 in #❓┊help
Table Widget: hide the title / header
perfect, I swear I tried that earlier! thanks for the input
7 replies
FFilament
Created by TheRealTeeHill on 7/30/2024 in #❓┊help
Minor layout issue
no, why would I need to do that please? I dont have node installed
13 replies
FFilament
Created by TheRealTeeHill on 7/30/2024 in #❓┊help
Minor layout issue
same I'm afraid
13 replies
FFilament
Created by TheRealTeeHill on 7/30/2024 in #❓┊help
Minor layout issue
No description
13 replies
FFilament
Created by TheRealTeeHill on 7/30/2024 in #❓┊help
Minor layout issue
No description
13 replies
FFilament
Created by TheRealTeeHill on 7/30/2024 in #❓┊help
Minor layout issue
will do
13 replies
FFilament
Created by TheRealTeeHill on 7/30/2024 in #❓┊help
Minor layout issue
V3.2.88
13 replies
FFilament
Created by TheRealTeeHill on 7/29/2024 in #❓┊help
Use Filament Shield to manage access to Table Actions
https://github.com/bmewburn/vscode-intelephense/issues/1223 seems I'm not the only one and issue is unrelated to the answer you gave, cheers
21 replies
FFilament
Created by TheRealTeeHill on 7/29/2024 in #❓┊help
Use Filament Shield to manage access to Table Actions
no errors in runtime... 🤔
21 replies
FFilament
Created by TheRealTeeHill on 7/29/2024 in #❓┊help
Use Filament Shield to manage access to Table Actions
No description
21 replies