Skip to content

Add custom HTML error pages

License

Notifications You must be signed in to change notification settings

FriendsOfFlarum/html-errors

Folders and files

NameName
Last commit message
Last commit date
Oct 4, 2024
Jan 23, 2025
Apr 4, 2021
Apr 4, 2021
Apr 4, 2018
Dec 9, 2018
Dec 18, 2020
Apr 4, 2021
Dec 20, 2019
Nov 12, 2023
Apr 4, 2021
Nov 12, 2023

Repository files navigation

Custom HTML Error Pages by FriendsOfFlarum

License Latest Stable Version OpenCollective

This extension allows you to customize the Flarum error pages. By default these pages have only limited styling in Flarum. Now you can change them to something that better reflects your website!

Installation

Use Bazaar or install it with Composer:

composer require fof/html-errors

Updating

composer update fof/html-errors

Configuration

Open the extension options to configure the custom HTML. Leaving a field empty will show the default Flarum error page.

The custom error pages are only applied when browsing the forum front-end. Any error response under /api or /admin is unaffected.

The custom error pages are not shown when debug mode is on.

You can handle additional error codes by entering the values manually in the settings table of the database.

Links

OpenCollective

An extension by FriendsOfFlarum.