Marco Mapelli
Explore posts from serversTLCTuto's Laravel Corner
•Created by Marco Mapelli on 6/11/2024 in #💡filament
TAB pagination reset
My problem is that opening from a table a modal window that contains tabs, when I click on a tab the page of the table is reset. How do I avoid this?
5 replies
Pagination and modal with tabs
I have a custom page where I display a table with an image. When I click on the image, a modal opens with tabs inside. In the list resource, I created:
The problem is that clicking on the tabs is interpreted as pagination, so the $this->dispatch('scroll-to-top'); is executed. How can I fix this?
3 replies
Action in footer table
Hello, is it possible to insert an action in the footer of the table (getFooterActions ??)? I need to create a button that, once I have finished scrolling through the entire table, can redirect me to another page.
Now i have this in List.. resource:
3 replies
TLCTuto's Laravel Corner
•Created by Marco Mapelli on 2/16/2024 in #💡filament
Classification filament plugin ??!!
Hi, I would need your opinion on a plugin that I would like to create for filament.
I wanted to organize the classification of the contacts model . I wanted to create a classification_types table with the following fields:
id
name
label
is_single
color
icon
In this table, I would include, for example, client, supplier, lead, reliable, unreliable, expensive, producer, importer...
In a second table, classification_relationships, I would define the various relationships that can exist between the classification_types. It could have the following fields:
id
classification_id_a
classification_id_b
sort
To assign the various classifications that the contacts can have, I would create a third table contact_classification with:
contact_id
classification_relationship_id
default
sort
What do you think about it? Should I consider anything else, perhaps also thinking of using existing plugins like Select Tree?
Thanks
2 replies
Logo in login page and after logged in
Hello, I’m configuring the logo, but when I’m on the login page is very small, when I’m logged in is right. How do I enlarge the logo on the login page?
Can I have two different logos between the login page and after I’m logged in?
7 replies