Dakaa
Dakaa
Explore posts from servers
FFilament
Created by Daniel Plomp on 7/4/2023 in #❓┊help
Disable data binding of Select Field
@Daniel Plomp How do you render the tabel column?
6 replies
FFilament
Created by Dakaa on 10/5/2023 in #❓┊help
How to translate the relationship name in relation manager?
Yeah I was about to say Model lol
8 replies
FFilament
Created by Dakaa on 10/5/2023 in #❓┊help
How to translate the relationship name in relation manager?
@Vp thankyou!
8 replies
FFilament
Created by Dakaa on 10/4/2023 in #❓┊help
How to translate a resource's names?
public static function getModelLabel(): string
{
return __('filament::translations.course');
}

public static function getPluralModelLabel(): string
{
return __('filament::translations.courses');
}
public static function getModelLabel(): string
{
return __('filament::translations.course');
}

public static function getPluralModelLabel(): string
{
return __('filament::translations.courses');
}
3 replies
FFilament
Created by .najibahmed on 9/14/2023 in #❓┊help
How to translate userMenuItems i panel?
@Najib Ahmed thankyou
4 replies
FFilament
Created by Dakaa on 9/19/2023 in #❓┊help
Is there a way to replace plugin's navigation icon?
6 replies
FFilament
Created by Dakaa on 9/19/2023 in #❓┊help
Is there a way to replace plugin's navigation icon?
yeah but im not going to dig into vendor folder and do that, can that be done on say provider?
6 replies
FFilament
Created by Dakaa on 9/19/2023 in #❓┊help
Is there a way to replace plugin's navigation icon?
any plugin that does not have the option to publish vendor files and allow you to change things like navigation group or icon
6 replies
FFilament
Created by Dakaa on 8/30/2023 in #❓┊help
How to change the logo size?
solved, how do i close
10 replies
FFilament
Created by Dakaa on 8/30/2023 in #❓┊help
How to change the logo size?
@justjosef thankyou so much
10 replies
FFilament
Created by Dakaa on 8/30/2023 in #❓┊help
How to change the logo size?
@awcodes I'm following that guide, I tried two ways to achieve it. Method A: my own attempt on using Tailwind JIT (not working) resources/views/vendor/filament-panels/components/logo.blade.php
<img src="{{ asset('/images/logo.svg') }}" alt="Logo" class="h-[100px]">
<img src="{{ asset('/images/logo.svg') }}" alt="Logo" class="h-[100px]">
Method B: css hooks suggested on doc (working) resources/views/vendor/filament-panels/components/logo.blade.php
<img src="{{ asset('/images/logo.svg') }}" alt="Logo" class="fi-logo">
<img src="{{ asset('/images/logo.svg') }}" alt="Logo" class="fi-logo">
theme.css
@import '../../../../vendor/filament/filament/resources/css/theme.css';

@config './tailwind.config.js';

.fi-simple-header .fi-logo {
@apply h-[100px];
}
@import '../../../../vendor/filament/filament/resources/css/theme.css';

@config './tailwind.config.js';

.fi-simple-header .fi-logo {
@apply h-[100px];
}
Does anyone know whether styling filament components using tailwind JIT is possible? or is using css hooks + tailwind directives in css file the only way for now?
10 replies