Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 08/05/2010, à 23:53

loonny

[Kompozer] La page ne s'affiche pas

Bonjour,

Voilà, content d'être sous ubuntu, sauf que je galère avec Kompozer.
J'ai bossé sur un site avec dreamweaver, les modèles de pages ne marchent pas sous Kompozer.
J'ai décidé juste de faire un copié/collé du code pour faire une page simple, sans aucun template.
Mais en chargant tout ça avec filezilla ,page blanche, rien n'apparait.
Je décide de reprendre la base du site avec kompozer et créant un template .mzt et refaire un test
avec ma page index....page blanche rien n'apparait. Je m'énerve.
Voici le lien vers la page test  : http://www.alerte.org/test/
Dans le répertoire il y a : index.html, template/template.mzt


Code du template

<html template="true">
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<script src="../SpryAssets/SpryEffects.js" type="text/javascript"></script>
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript"
src="js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<link rel="stylesheet" href="css/lightbox.css" type="text/css"
media="screen">
<!--
function MM_effectHighlight(targetElement, duration, startColor, endColor, restoreColor, toggle)
{
Spry.Effect.DoHighlight(targetElement, {duration: duration, from: startColor, to: endColor, restoreColor: restoreColor, toggle: toggle});
}
//-->
<title>Association l'Alerte</title>
<meta name="Description"
content="L'association l'Alerte propose des séjours dans un Chalet en Haute Savoie pour enfants et adolescents, ainsi que la location du chalet pour les particuliers (capacités d'accueil de 41 personnes)">
<meta name="Keywords"
content="chalet, haute, savoie, haute+savoie, annecy, thônes, thones, parmelan, colonie, sejour, séjours, montagne, randonnée, marche, lac, activité, activités, enfant, enfants, adolescent, adolescents, tente, veillée, location, particulier, , profesionnel, , grand, bornand, la cluza, escalade, marseille, cg13, cg74, région, ddjs, gestion, cousinade, week end, famille, ">
<meta name="Author" content="zwatla.com">
<meta name="Publisher" content="François Guillet">
<meta name="Content-language" content="fr">
<style type="text/css">
<!--
body {
background-color: #6EA325;
}
body,td,th {
font-family: Arial;
font-size: 11px;
color: #000;
}
.style6 {
font-size: 12px;
font-weight: bold;
color: #FFFFFF;
}
.style8 {font-size: 11px; font-weight: bold; }
.style10 {font-size: 12; font-weight: bold; color: #FFFFFF; }
menu {
color: #FFF;
}
.style6 a {
color: #FFF;
}
.style10 a {
color: #FFF;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: underline;
color: #F90;
}
a:active {
text-decoration: none;

}
-->
</style>
</head>
<body>
<table align="center" border="0" cellpadding="10" cellspacing="0"
height="848" width="740">
<tbody>
<tr>
<td bgcolor="#a4da5a" height="848" valign="top">
<table align="center" height="800" width="715">
<tbody>
<tr>
<td bgcolor="#ffffff" valign="top" width="719"><br>
<table align="center" cellpadding="0" cellspacing="0"
height="246" width="669">
<tbody>
<tr align="left" valign="bottom">
<td
background="http://www.alerte.org/images/header.jpg" width="647">
<table align="left" border="0" cellpadding="0"
cellspacing="0" width="342">
<tbody>
<tr>
<td class="style6"
onclick="MM_effectHighlight(this, 1000, '#ffffff', '#ff0000', '#ffffff', false)"
width="58"><a href="http://www.alerte.org/index.html">Accueil</a></td>
<td width="61"><span class="style10"><a
href="http://www.alerte.org/sejour.html">Séjours</a></span></td>
<td width="62"><span class="style10">Location</span></td>
<td width="60"><span class="style10"><a
href="http://www.alerte.org/photo.html">Photos</a></span></td>
<td width="101"><span class="style10"><a
href="http://www.alerte.org/contact.html">Contact</a></span></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<table cellpadding="0" cellspacing="0" width="715">
<tbody>
<tr>
<td>&nbsp;</td>
</tr>
</tbody>
</table>
<table align="center" cellpadding="0" cellspacing="0"
height="495" width="675">
<tbody>
<tr>
<td align="center" height="493" valign="top"
width="181"><br>
<table align="center" cellpadding="0" cellspacing="0"
width="155">
<tbody>
<tr>
<td><strong> Fête du Chalet 2009 test<br>
</strong></td>
</tr>
<tr>
<td><img src="images/hr.gif" alt="croix"
height="7" width="7"><img src="images/hr.gif" alt="croix" height="7"
width="7"><img src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"></td>
</tr>
<tr>
<td height="56">
<p>Voici l'article tiré du journal La Provence<a
href="../rdv.html"> parlant de la fête du Chalet.</a></p>
</td>
</tr>
</tbody>
</table>
<br>
<table align="center" border="0" width="96">
<tbody>
<tr>
<td width="169"><a
href="http://www.alerte.org/images/fete2009.jpg" rel="lightbox[fete]"><img
src="http://www.alerte.org/images/fete2009.jpg" alt="chalet"
align="absmiddle" border="0" height="133" width="90"></a></td>
</tr>
</tbody>
</table>
<p><br>
</p>
<table border="0" cellpadding="0" cellspacing="0"
width="200">
<tbody>
<tr>
<td align="center"><img src="images/hr.gif"
alt="croix" height="7" width="7"><img src="images/hr.gif" alt="croix"
height="7" width="7"><img src="images/hr.gif" alt="croix" height="7"
width="7"><img src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"></td>
</tr>
</tbody>
</table>
<br>
<br>
<table align="center" border="0" cellpadding="0"
cellspacing="0" width="155">
<tbody>
<tr>
<td width="169">
<p><strong>Association l'Alerte</strong><br>
99 rue consolat <br>
13001 Marseille<br>
04 91 64 29 59<br>
<br>
<a href="mailto:info@alerte.org">info@alerte.org
</a><br>
<br>
</p>
</td>
</tr>
<tr>
<td><img src="images/hr.gif" alt="croix"
height="7" width="7"><img src="images/hr.gif" alt="croix" height="7"
width="7"><img src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"><img
src="images/hr.gif" alt="croix" height="7" width="7"></td>
</tr>
<tr>
<td height="117" valign="top">
<p><strong><br>
N° d'agrément jeunesse <br>
et sports de l'assoc</strong> :<br>
013 ORG 0455</p>
<strong>N° d'agrément Jeunesse <br>
et Sports du Chale</strong>t <strong>:</strong><br>
740031003</td>
</tr>
</tbody>
</table>
<p><br>
<br>
</p>
</td>
<td align="center" valign="top" width="492"><span
editable="true" id="body">body</span>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<div align="center"><br>
Design By Zwatla <a href="http://www.zwatla.com/kits_graphiques.html"
target="_blank">kits graphiques</a> - <a href="http://www.zwatla.com/"
target="_blank">Web création</a> </div>
</td>
</tr>
</tbody>
</table>
</body>
</html>

De plus, j'ai créé dans le template une zone "body" éditable.
Bien que le reste de la page ne puisse pas être édité, en créant une nouvelle page avec comme modèle template.mzt je peux tout modifier comme si le template ne servait rien.
Merci d'avance pour le coup de main, car là le site est down !

Dernière modification par loonny (Le 08/05/2010, à 23:57)

Hors ligne

#2 Le 09/05/2010, à 08:35

gl38

Re : [Kompozer] La page ne s'affiche pas

Si on commente les lignes

<script src="../SpryAssets/SpryEffects.js" type="text/javascript" />
<script type="text/javascript" src="js/prototype.js" />
<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder" />
<script type="text/javascript" src="js/lightbox.js" />

On a un affichage avec firefox.

Il me semble qu'il y a beaucoup trop de balises table, tbody pour une seule page, ce qui rend le code difficile à lire, sans parler des images hr.gif.

Cordialement,
Guy

Hors ligne

#3 Le 10/05/2010, à 13:10

loonny

Re : [Kompozer] La page ne s'affiche pas

les hr.gif ne sont qu'une répétition d'une petite image (que je pourrais coller ensemble pour n'en faire qu'une, ça réduirai un peu).
Pour le code que du a quote c'est pour "lightbox" pour afficher les images.
Sinon en attendant de gérer avec kompozer j'ai installé dreamweaver avec virtualbox pour faire les mises à jours urgentes. Merci pour ta réponse, on peut dire que le problème est réglé.

Hors ligne