Custom Error Pages


Vactory provides customizable error handling pages that allow you to maintain a consistent user experience even when things go wrong. You can customize the appearance and behavior of error pages, maintenance pages, and session expiration pages.

Error Page Customization

Error Node Component

To customize the general error pages (404, 500, etc.), edit the following file:

./components/modules/contrib/error/ErrorNode.jsx

This component handles the display of various error states and allows you to customize the error messaging and styling.

Maintenance Page Customization

Maintenance Node Component

To customize the maintenance page that appears when your site is in maintenance mode, edit the following file:

./components/modules/contrib/maintenance/MaintenanceNode.jsx

This component is displayed when your Drupal site is put into maintenance mode and allows you to inform users about scheduled downtime.

Session Expiration Page Customization

Session Expiration Component

To customize the session expiration page that appears when user sessions expire, edit the following file:

./components/modules/contrib/account/SessionExpiration.jsx

This component handles the user experience when authentication sessions expire and can guide users through the re-authentication process.

Implementation Notes

Each of these components can be customized to match your application's design system and user experience requirements. You can modify the styling, messaging, and interactive elements to provide a seamless experience for your users even during error conditions.