Hightower
Hightower
FFilament
Created by Hightower on 2/19/2025 in #❓┊help
Deployer - File / Directory Permissions
@Tuim apologies, had a couple weeks out and just seen this. Apparently the provision stage is meant to set permissions etc, but we're not seeing that.
6 replies
FFilament
Created by Hightower on 2/19/2025 in #❓┊help
Deployer - File / Directory Permissions
Bump
6 replies
FFilament
Created by Hightower on 11/1/2024 in #❓┊help
User Relationship with Permissions
Sussed it with 'roles.permissions' in the query
4 replies
FFilament
Created by Hightower on 11/1/2024 in #❓┊help
User Relationship with Permissions
In fact, it doesn't show an ID I don't believe - it just shows a number 1
4 replies
FFilament
Created by Hightower on 10/12/2024 in #❓┊help
order tenancy menu
protected static function booted()
{
static::addGlobalScope('orderByTitle', function (Builder $builder) {
$builder->orderBy('name');
});
}
protected static function booted()
{
static::addGlobalScope('orderByTitle', function (Builder $builder) {
$builder->orderBy('name');
});
}
4 replies
FFilament
Created by Hightower on 10/12/2024 in #❓┊help
order tenancy menu
nvm, sussed it with the following in the Tenant model:
4 replies
FFilament
Created by Hightower on 9/2/2024 in #❓┊help
Custom Summary Page
May not be the most elegant, will gladly take suggestions how to improve
16 replies
FFilament
Created by Hightower on 9/2/2024 in #❓┊help
Custom Summary Page
public function table(Table $table): Table
{
return $table
->query(function() {
$query = Condition::where('academy_id', $this->tenant)->get();

if ($query->count() !== 0) {
return $query->toQuery();
}
}
)
->heading(Academy::find($this->tenant)->name)
->columns([
TextColumn::make('reference'),

]);
}
public function table(Table $table): Table
{
return $table
->query(function() {
$query = Condition::where('academy_id', $this->tenant)->get();

if ($query->count() !== 0) {
return $query->toQuery();
}
}
)
->heading(Academy::find($this->tenant)->name)
->columns([
TextColumn::make('reference'),

]);
}
16 replies
FFilament
Created by Hightower on 9/2/2024 in #❓┊help
Custom Summary Page
I've sussed it just by accessing the model directly
16 replies
FFilament
Created by Hightower on 9/2/2024 in #❓┊help
Custom Summary Page
I've tried $isScopedToTenant = false; as I would normally do with a resource
16 replies
FFilament
Created by Hightower on 9/2/2024 in #❓┊help
Custom Summary Page
How do I tell my widget to stop checking for tenancy?
16 replies
FFilament
Created by Hightower on 9/2/2024 in #❓┊help
Custom Summary Page
1. Create a custom page, pass through the list of tenants 2. In the custom page, iterate through the tenants and pull in a widget for each 3. In the widget, call it so it knows which tenant it is looking for
16 replies
FFilament
Created by Hightower on 9/2/2024 in #❓┊help
Custom Summary Page
Am I thinking about this the right way:
16 replies
FFilament
Created by Hightower on 9/2/2024 in #❓┊help
Custom Summary Page
Just need to figure out how best to handle the query etc but I’ll have a bit play
16 replies
FFilament
Created by Hightower on 9/2/2024 in #❓┊help
Custom Summary Page
Iterate through each tenant and duplicate the widget
16 replies
FFilament
Created by Hightower on 9/2/2024 in #❓┊help
Custom Summary Page
I’m thinking a custom page with a widget for each tenant
16 replies
FFilament
Created by Hightower on 9/2/2024 in #❓┊help
Custom Summary Page
Like a dashboard with a summary table for each
16 replies
FFilament
Created by Jean Roumeau on 4/26/2024 in #❓┊help
Nested categories
@awcodes I've got this working quite well, but any idea how to show the nesting in the resources list table view as by default it just shows a flat table
5 replies
FFilament
Created by Hightower on 7/16/2024 in #❓┊help
Table Columns from Database
Would appreciate any advice on how best to work this
37 replies
FFilament
Created by Hightower on 7/16/2024 in #❓┊help
Table Columns from Database
37 replies