Fork me on GitHub

Rapport de message :*
 

Re: Créez une page d'erreur 404 intégrée et personnalisée

Titre du sujet : Re: Créez une page d'erreur 404 intégrée et personnalisée
par RC78 sur 14/06/2009 19:36:28

Bonjour iLuc,
Oui en effet c'est très bizarre surtout si tu as la même version que moi !!!
Je viens d'effectuer la maj protector en version 3.3 mais le résultat est identique, cela doit peut être venir des réglages de l'administration.

Vous pouvez voir le résultat du fichier 404.htm ICI et j'avoue que c'est quand même plus chouette qu'une page blanche "Error 404"

La combine est la même que le 404.php sauf que là j'ai créé un répertoires "messages" avec mon fichier ma déco et mon header
<!DOCTYPE html><html lang="fr" ><meta charset="utf-8" /><title>ERREUR 404 Ce lien de La Jungle Libertine semble corrompu</title>
<
style>
html background:  url(http://www.mon-site.com/messages/bg.gif) repeat-X #323232;
font.75em/1.5 arialsans-serif; }
bodyh1h2#about p { margin: 0; }body { padding: 1em 0 0; }
h1#content p { font-size: 1.5em; overflow: hidden;margin-bottom: 0.4em; }
h1 color#333; padding: .4em 0; height: 1%; }
h1 img margin-top: -.5emfloatright; }
h2 font-size1.25emline-height1.2margin-bottom0; }
ul font-size1.08emcolor#000; margin: .5em 0 1em 1.5em; padding: 0; }
form#about { text-align: center; }
input font-familyarialsans-seriffont-size1em; }
label displayblockpadding0 0 1emtext-alignleft;  color#000;}
div#status { position: relative; }
div margin0 auto 1emwidth800px; }
div div margin1em 0widthauto; }
img border0; }
#content { background: #fff; border: 2px solid #ccc; margin-top: 1em;padding: 25px 35px 15px; }
#content p { color: #c00; margin: 1.2em 0; }
#about { line-height: 2.0; }
#status { bottom: -1em; font-size: 1.17em; color: #777; text-align: right; }#search { width: 250px; }
</style>
<
body>
<
div>
<
a href="http://www.mon-site.com" target="_blank"><img src="http://www.mon-site.com/messages/header.gif"></a>
<
div id="content">
<
h1>Oups Petit problème... Ce lien semble corrompu.</h1>
<
h1>Erreur 404</h1>
<
p>Essayez avec cette orthographe : <a href="http://www.mon-site.com/" target="_blank"><b></b><b color#333;>http://www.mon-site.com</b></a></p>
<h2>Suggestion :</h2><ul><li><form action="http://www.google.fr/search" method="get"><label for="search">Rechercher sur Google :</label><input type="text" id="search" name="q" value="mon site"/><input type="hidden" name="channel" value="linkdoctor"/><input type="submit" value="Recherche Google" onclick="javascript: redirect(this.form)" /></form></li></ul><script type="text/javascript">function redirect(form) {clkb("btnG"escape(document.getElementById("search").value));form.submit();}</script></div>
<div id="about">© Google - <a href="http://www.google.fr" onmousedown="return rwctrd(this,'ft','2','http://www.google.com/');"> Accueil Google </a></div>
</div>
</body>
</html>



@+ Titi
Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

92 Personne(s) en ligne (72 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 92 | Plus ...