Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

create custom error page layout based on error code

Go to End



Community Member, 9 Posts

10 January 2012 at 3:06am

ok i found this Solved- custom error pages]] Solved- custom error pages which got me started but now im in a bit of a pickle, how do i customise the layout based on the error code.
IE. 404 i have a image hard coded in html with a simple history.go(-1) and some text. a 500 however i want to hard code a different image and link.
any ideas how to do this