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.

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