IWBW
IWBW
FFilament
Created by IWBW on 7/22/2024 in #❓┊help
Use a third party HTML template to completely transform the UI
I have noticed that I can publish and override a lot of Filament's Blade files. Does that mean I can use that method to transform the UI into any Tailwind based admin template of my choice? Are there any files that I will not be able to override? As an example, a client wants their app to look like this: https://lineone.piniastudio.com/components-table.html Would that kind of undertaking be doable by someone who is not an expert at Tailwind or Filament?
1 replies
FFilament
Created by IWBW on 7/17/2024 in #❓┊help
Infolist TextEntry is stripping my SVG icons
I have the following code in my resource:
RepeatableEntry::make('incompleteTasks')
->hiddenLabel()
->schema([
TextEntry::make('title')
->hiddenLabel()
->html()
->state(function (Task $record) {
return view('filament.pages.task-list-item', ['task' => $record]);
}),
// Other entries
]),
]),
RepeatableEntry::make('incompleteTasks')
->hiddenLabel()
->schema([
TextEntry::make('title')
->hiddenLabel()
->html()
->state(function (Task $record) {
return view('filament.pages.task-list-item', ['task' => $record]);
}),
// Other entries
]),
]),
Then I have this code in my view:
<p class="flex items-center text-muted text-gray-600 dark:text-gray-400 font-small mt-1">
<x-heroicon-o-clock class="h-4 w-4 me-1 text-primary-500" />Some stuff here | <x-lineawesome-user-tie-solid class="h-4 w-4 mx-1 text-primary-500" /> Other stuff here
</p>
<p class="flex items-center text-muted text-gray-600 dark:text-gray-400 font-small mt-1">
<x-heroicon-o-clock class="h-4 w-4 me-1 text-primary-500" />Some stuff here | <x-lineawesome-user-tie-solid class="h-4 w-4 mx-1 text-primary-500" /> Other stuff here
</p>
When I dd() the view, the icons are there in the HTML, but when the entry is rendered, they are not. Is there something I can turn off to stop that behavior? In case you are wondering, I'm not using the ViewEntry because I could not figure out how to share the current Task with the view. viewData() does not accept a closure
18 replies
FFilament
Created by IWBW on 7/10/2024 in #❓┊help
Customise cluster sub-menu
The cluster sub-menu takes up a lot of real estate. Together with the sidebar nav, they occupy a third of the page's width. Is there a way of making cluster menu entries behave like nav groups? Either that, or have it as a horizontal menu just above the breadcrumbs
6 replies
FFilament
Created by IWBW on 5/30/2024 in #❓┊help
Profile view and profile edit
How do I make the current user profile link go to the current user's profile page and add a different link for editing the current user's profile?
13 replies