adding a custom link in the dashboard

Is there any way to add a link to a custom page in the dashboard? like adding the link in dashbord.modules array in config/twill.php. Twill 3
2 Replies
.zeenux
.zeenuxOP2y ago
TwillNavigation::addLink( NavigationLink::make()->forRoute('ENTER_ROUTE_HERE')->title('XYZ') );
ifox
ifox2y ago
Hi @.zeenux that would add a route to the navigation. If you want to customize the dashboard view you can override it by copying Twill's dashboard layout to resources/views/vendor/twill/layouts/dashboard.bladd.php
Want results from more Discord servers?
Add your server