Unofficial
Quick & Dirty
Guide to Open Designer
Customized Error Screen
Overview of steps
1. Open OUI2_ERROR
2. Clone it as XX_ERROR
3. Change spots marked in red.
4. Save.
The object you want to edit is OUI2_ERROR - Clone the object as XX_ERROR (Where XX is your site initials - or whatever you want)
%OUI%
%COMMENT%
<!-- Object name = XX_ERROR
This is a complete replacement for Merchants ugly error screen which
adds
your global header and footer. If you set g.OUIX_greymenu to 1 you can
have your category tree as well.
-->
%COMMENTEND%
%IF(len(g.OUIX_message) EQ 0)%
%SET(g.OUIX_code|UNKNOWN)%
%SET(g.OUIX_message|<B>Unknown Error</B><BR><BR> Action
= %VAR(g.Action)%<BR> Screen = %VAR(g.Screen)%)%
%IFEND%
%DOFUNC(g.OUIX_ok|g.Module_Library_Utilities|Error(g.OUIX_code, g.OUIX_message))%
%SET(g.Screen|)%
%SET(g.Action|)%
%SET(g.OUIX_FatalError|1)%
%SET(g.OUIX_title|%VAR(Stores.d.name)%: Error)%
%SET(g.OUIX_greymenu|1)%
%SET(g.OUIX_catid|0)%
%OUIOBJOUT(BEGINSCREEN|g.OUIX_ok|OPENUI|OUI_Begin_Screen(g.OUIX_title,g.OUIX_greymenu,g.OUIX_catid))%
<table width="369" height="140" border="0">
<tr>
<td><div align="center">
<p>The page you are looking for
has been moved or is no longer
available. </p>
<p><b>Message: </b>
%VAR(g.OUIX_code)% <b>Description:</b>%VAR(g.OUIX_message)%</p>
<p>If there is something you are
looking for, please contact customer
service by sending an email to <a href="mailto:info@mysite.com">info@mysite.com</a>.</p>
</div>
<p> </p></td>
</tr>
<tr>
<td><div align="center"><a href="http://www.mysite.com">Click
here to
return to My Site</a></div></td>
</tr>
</table>
%OUIOBJOUT(ENDSCREEN|g.OUIX_ok|OPENUI|OUI_End_Screen())%