Expecto Patronum
Create Page View And Edit Only?
Hi . I want to create. Profile . I have see so many questions about profile that need to create custom page and all that but it seems not what i want to archive after all.
I want to have a profile that can display data through infolist and have relation manager ( if possible). And edit Page with contains wizard to edit data . Only 2 page that i need .
Is that possible to archive like this? Do i need to create resource like usual , Delete page of create and list ? Or still need to do custom seperate page after all?
3 replies
Widget in Relation Manager
From my understanding is that we can create a widget and register in the ListPage as normal way . I just wondering that can we add widget in relation manager file ? I try to implement the the concept as ListPage but it didn’t work . Any ideas ?
2 replies
getPageTableQuery() function on Simple Resource.
Hi all, i have a question . currrently im using simple resource in my project. i wanted to use getPageTableQuery() function on widget and set into managePage. but i realize its only apply on normal resource means the ListPage. is there any way to apply the same concept on ManagePage?
when i registered the widget on ManagePage. i received error as in the picture i provided . any ideas ?
2 replies
Visible On SubNavigation Pages
Hi all , i just create a subnavigation for pages as below
public static function getRecordSubNavigation(Page $page): array
{
return $page->generateNavigationItems([
ViewApplication::class,
EditApplication::class
]);
}
is there anywhere to set visible like on action ?
2 replies
Global Filter at Dashboard
Hi all , does anyone have try to create global filter at dashboard page ? I have watch some tutorial at the youtube but mostly the filter either by date or options we set on code . I try to implement option by calling model like
->options(DeviceQuota::all->pluck(‘name’ , ‘id’)
But its seems not working . I create 3 stat widget that I want to filter attribute quantity, disbursement and balance from DeviceQuota model . Any ideas?
2 replies
Prevent / Lock Particular Id from Deleted
Hi all , i have a question . I have 5 ids in RoleResource . My question is, how to lock or prevent some particular id from being deleted ? Because i have set auto assign role during register form . So wanted to prevent the user from delete that id .
4 replies
Change data in default Filament Info Widget
Hi, i just wondering how to change the data in default filament info widget since that in vendor . I try to overide in vendor and its work but it will back to default when i run composer update . Is there any other alternative to do without create a new widget ?
6 replies