Add a button next to the 'new resource' button.
I have searched in the documentation but have not found any clues. 'getHeaderAction' is not working.
Solution:Jump to solution
You need to put inside CreateResource.php inside pages.. and yes if you return empty array, button will not show
6 Replies
getHeaderActions
should work.. what is the error?No error, just don't show any change. Only default 'new resource' button even when i return empty array ( should it return no button right? , or i just missed something?)
Solution
You need to put inside CreateResource.php inside pages.. and yes if you return empty array, button will not show
Thank you, I edited the wrong file π
i want to add a button with create button
Go to
List...Resource.php
inside pages and you'll see getHeaderActions()
and inside that you can add custom button. If it's simple resource then you need to go inside Manage...
inside pages