New toy
Moooooooo
See the cow ?
Romanian programmers
FoxPro
Bad work conditions
Amazement
Made in Borland?
In stores now!!!
rome.ro
Having fun?
Haiku
Tech*Ed, Day -1
Tech*Ed, Day 0
Tech*Ed, Day 1
Tech*Ed, Day 2
Tech*Ed, Day 3
The Codezone party
Tech*Ed, Day 4 (and last)
C++
Everybody and his brother is a 'web programmer'
Communism
(.NET) Intraweb components!!!
Firefox surprise
Intraweb for Cω?
Free license!!!
TurboPower
What to blog about, what to share?
A programmer's mind....
Three awards to Atozed!!!!
More recognition
Intraweb Review
All your base are belong to us?
Something's cooking
Usenet archive
The romanian's worst enemy
Underwater
One date to rule them all
X Prize
Intraweb for Lego Mindstorms
H2?
Addicted to net
Earthquake!
How to write a custom Intraweb component using C#
How to customize the Intraweb error page
A smart idea and a bad one
On technical support
Worst possible Internet service provider
XPrize reloaded
Security advisors shooting contest
Nice CodeFez article
Internetless
The day the hypocrisy ends
The Bat is dead, long live Thunderbird!
Impressive. Most impressive.
My idea for a stupid game
Random thought of the day
Are you a Frank Herbert's fan ?
A new way or an old one?
Uninspired names and intercultural fun
Illiteracy in the 21st century
|
How to customize the error screen in Intraweb
By far one of the most popular questions is "how do I get rid of the yellow error page". Here is a description on how to do this.
In order to have Intraweb display your error page instead of the default one, you must do the following:
- Create a file named "IWError.html"
- Fill it with something like this:
<html>
<head><title>Da error is in da house</title></head>
<body>
<p align-"center"><img src="{%ATOZEDLOGO%}">
<p>
<h3>Beware the mighty error!!!</h3>
</body>
</html>
- Place it in the application "Templates" folder.
- Use the following placeholders inside, wherever you want them:
- {%ATOZEDLOGO%} to display the Atozed logo
- {%INTRAWEBLOGO%} to display the Intraweb logo
- {%CONTENT%} to display the exception message
- {%APPADDRESS%} to display the application address
- {%EXCEPTIONSPECIFIC%} to display an exception specific explanation (only a few are defined)
- {%APPNAME%} to display the application name
- The file IWError.html is output via Javascript. Make sure you don't have single quotes in it, or else you'll end in a Javascript error.
|