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, biapar, Willr, Ingo, swaiba, simon_w

create custom error page layout based on error code




Community Member, 9 Posts

10 January 2012 at 3:06am

ok i found this [url]] Solved- custom error pages[/url] 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