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


970 Views

Avatar
wake2010

Community Member, 9 Posts

10 January 2012 at 3:06am

ok i found this Solved- custom error pages]http://www.silverstripe.org/general-questions/show/8919] 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