I'm wondering if it is possible to set a custom 404 page on silverstripe specific to a certain page type, while all other 404 errors use the default one.
I have a particular page type "Events" which has event pages unpublished after their specific date.
I also have a static page with links to some of the events. This page url is sent to members so they will still have access to the page even after some of the events may have passed.
Once an event has passed, it is unpublished and therefore following the link will lead to a 404 error page. The link will still be available on the static page.
I am wanting to set a specific error page for the Event page type so that when someone follows the link to a past event they will get error page A. "this event has passed, go to our events page"
I then want a regular error page B "page not found, go to our home page" that will be the error page for any other incorrect links on the site.
Is there any way I can do this?? I am using silverstripe 3