September 2007
Intermediate to advanced
600 pages
20h 21m
English
To create the request display template, do the following:
1. | Create a new ColdFusion template called ErrorRequest.cfm, located in the same directory as your Application.cfc file. Include whatever images or formatting you want, using whatever <img> or other tags you would normally. Remember to not put any CFML tags in this template.
|
2. | Include the special ERROR.diagnostics variable wherever you want the actual error message to appear, if you want it to appear at all. Contrary to what you are used to, the variable should not be between <cfoutput> tags.
|
3. | If you want, you can include the special ERROR.mailTo variable to display the email address of your site’s webmaster or some other appropriate person. ... |
Read now
Unlock full access