Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Mauro19's avatar

Redirection to Nova Create Resource page from Custom Tool

I have a Resource called Event in my Nova project and I have created a Custom Tool that uses FullCalendar to show the Events, similar to Pawel Dymek's package . But instead of using a Modal to create a new Event when clicking on a date I would like to redirect to the Nova default Resource Create Event page. And in the case of clicking on an existing Event to redirect to the Edit Event page.

What would be the proper way to implement the redirection? Thanks in advance

0 likes
2 replies
davidsmith01's avatar

I have the current use case for this.

A team has many credits linked to them. You can create a credit adjustment against a team. Currently when this is created it goes to the details view of the credit adjustment when for our application it would make more sense to redirect them back to the team. This will save our end users time and confusion.

Below is a view of the team with the create adjustment button. This is where we would like to redirect back to. https://cinehubapk.com/

bajiraosingham's avatar

try this:

add in your nova action

public function handleRequest(\Laravel\Nova\Http\Requests\ActionRequest $request) { parent::handleRequest($request);

return Action::redirect('/admin/paddle-subscription');

}

https://cinehub.me/

Please or to participate in this conversation.