Fork me on GitHub






istats le compteur est rester bloqué í  0 et ne decole pas ?
Régulier
Inscrit: 30/09/2005 12:22
Messages: 152
Bonjour,
je viens moi aussi d'avoir quelques déboires avec la mise à jour du fichier theme.html où Sylvain dit qu'il faut rajouter à la fin :
<{if $xoops_isadmin != 1}>
<{/if}>
Sans connaissance html, je me suis lancé avec un petit éditeur que de texte ( bloc notes ) . Puis, j'ai positionné 'oui' dans Mise à jour des fichiers du thèmes à partir du répertoire themes/. mon theme est phpkaox


mais ca ne marche toujours pas

quoi faire ?


merci

Posté le : 05/10/2005 09:28
Partager Twitter Partagez cette article sur GG+
Re: istats le compteur est rester bloqué í  0 et ne decole pas ?
Xoops accro
Inscrit: 25/02/2004 00:20
De Région parisienne
Messages: 2526
Dans un premier temps il faut installer le module.

ensuite il faut ajouter dans le fichier thems.html les lignes suivantes

<{if $xoops_isadmin != 1}>
    <
script type="text/Javascript">
    <!--
    
istat = new Image(1,1);
    
istat.src "<{$xoops_url}>/modules/istats/include/counter.php?sw="+screen.width+"&sc="+screen.colorDepth+"&referer="+escape(document.referer)+"&page="+location.href;
    
//-->
    
</script>
<{/if}>

Posté le : 05/10/2005 12:22
Partager Twitter Partagez cette article sur GG+
Re: istats le compteur est rester bloqué í  0 et ne decole pas ?
Régulier
Inscrit: 30/09/2005 12:22
Messages: 152
ou

Posté le : 06/10/2005 00:12
Partager Twitter Partagez cette article sur GG+
Re: istats le compteur est rester bloqué í  0 et ne decole pas ?
Régulier
Inscrit: 30/09/2005 12:22
Messages: 152
dans le fichier theme ou quelle ligne merci .

Posté le : 06/10/2005 00:12
Partager Twitter Partagez cette article sur GG+
Re: istats le compteur est rester bloqué í  0 et ne decole pas ?
Régulier
Inscrit: 30/09/2005 12:22
Messages: 152
j'ai essayer mais sans resultats

je met la suite de ma page theme.html pour que vous puissiez et peut etre corriger merci

voici ma page theme.html:

le code :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<head>
<meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<meta name="robots" content="<{$xoops_meta_robots}>" />
<meta name="keywords" content="<{$xoops_meta_keywords}>" />
<meta name="description" content="<{$xoops_meta_description}>" />
<meta name="rating" content="<{$xoops_meta_rating}>" />
<meta name="author" content="<{$xoops_meta_author}>" />
<meta name="copyright" content="<{$xoops_meta_copyright}>" />
<meta name="generator" content="Microsoft FrontPage 5.0" />
<title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>
<link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/xoops.css" />
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />
<!-- RMV: added module header -->
<{$xoops_module_header}>
<script type="text/javascript">
<!--
<{$xoops_js}>
//-->
</script>
</head>
<body>
<table cellspacing="1" cellpadding="0" bgcolor="#666666">
<tr>
<td bgcolor="#DDE1DE">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="285"><a href="<{$xoops_url}>"><img src="<{$xoops_imageurl}>images/logo.gif" alt="logo" align="middle" /></a></td>
<td width="100%" align="center"><div style="text-align: center; padding-top: 5px;"><{$xoops_banner}></div></td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#FFFFFF">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="20%" bgcolor="#EFEFEF">
<!-- Start left blocks loop -->
<{foreach item=block from=$xoops_lblocks}>
<table cellspacing="0" cellpadding="2">
<tr>
<td class="blockTitle">&nbsp;<{$block.title}></td>
</tr>
<tr>
<td class="blockContent"><{$block.content}></td>
</tr>
</table>
<{/foreach}>
<!-- End left blocks loop -->
</td>
<td style="padding: 0px 5px 0px;" align="center">
<!-- Display center blocks if any -->
<{if $xoops_showcblock == 1}>

<table cellspacing="0">
<tr>
<td width="100%" colspan="2">

<!-- Start center-center blocks loop -->
<{foreach item=block from=$xoops_ccblocks}>
<table cellspacing="1" cellpadding="5">
<tr>
<td class="blockTitle">&nbsp;<{$block.title}></td>
</tr>
<tr>
<td class="blockContent"><{$block.content}></td>
</tr>
</table>
<{/foreach}>
<!-- End center-center blocks loop -->

</td>
</tr>
<tr>
<td width="50%">

<!-- Start center-left blocks loop -->
<{foreach item=block from=$xoops_clblocks}>
<table cellspacing="1" cellpadding="5">
<tr>
<td class="blockTitle">&nbsp;<{$block.title}></td>
</tr>
<tr>
<td class="blockContent"><{$block.content}></td>
</tr>
</table>
<{/foreach}>
<!-- End center-left blocks loop -->

</td><td width="50%">

<!-- Start center-right blocks loop -->
<{foreach item=block from=$xoops_crblocks}>
<table cellspacing="1" cellpadding="5">
<tr>
<td class="blockTitle">&nbsp;<{$block.title}></td>
</tr>
<tr>
<td class="blockContent"><{$block.content}></td>
</tr>
</table>
<{/foreach}>
<!-- End center-right blocks loop -->

</td>
</tr>
</table>

<{/if}>
<!-- End display center blocks -->

<div id="content">
<{$xoops_contents}>
</div>
</td>

<{if $xoops_showrblock == 1}>
<td width=20% bgcolor=#efefef align=center>
<!-- Start right blocks loop -->
<{foreach item=block from=$xoops_rblocks}>
<table cellspacing="0" cellpadding="2">
<tr>
<td class="blockTitle">&nbsp;<{$block.title}></td>
</tr>
<tr>
<td class="blockContent"><{$block.content}></td>
</tr>
</table>
<br />
<{/foreach}>
<!-- End right blocks loop -->
<{/if}>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="30" valign="middle" bgcolor="#DDE1DE" align="center"><div style="text-align: center; padding-top: 2px; font-size: 10px"><{$xoops_footer}></div></td>
</tr>
<!-- Please do not remove or modify the following line -->
<div id="copyright">McFlyTrader 2005 . Theme by LucasTDS.net</div>
<!-- Thanks for keeping credits to the author of this theme -->
<!-- Theme by LucasTDS.net - http://www.lucastds.net -->

</td><{if $xoops_isadmin != 1}>
<script type="text/Javascript">
<!--
istat = new Image(1,1);
istat.src = "<{$xoops_url}>/modules/istats/include/counter.php?sw="+screen.width+"&sc="+screen.colorDepth+"&referer="+escape(document.referer)+"&page="+location.href;
//-->
</script>
<{/if}>

<{if $xoops_isadmin != 1}><{/if}>
</table>
</body>
</html>

Posté le : 06/10/2005 00:21
Partager Twitter Partagez cette article sur GG+
Re: istats le compteur est rester bloqué í  0 et ne decole pas ?
Xoops accro
Inscrit: 25/02/2004 00:20
De Région parisienne
Messages: 2526
Je mettrai le code à ajouter en dessous du dernier </table> (juste pour une question de lisibilité du code)
Mais ca ne devrait rien changer.

Vérifies dans l'admin : Admin systeme / Préférence / Paramètres généraux
si l'option Mise à jour des fichiers du thèmes à partir du répertoire themes/ ?
est bien à oui.

Posté le : 06/10/2005 02:58
Partager Twitter Partagez cette article sur GG+
Re: istats le compteur est rester bloqué í  0 et ne decole pas ?
Régulier
Inscrit: 30/09/2005 12:22
Messages: 152
c'est trop top cela fonctionne

Posté le : 06/10/2005 07:52
Partager Twitter Partagez cette article sur GG+

 Haut   Précédent   Suivant



Vous pouvez voir les sujets.
Vous ne pouvez pas débuter de nouveaux sujets.
Vous ne pouvez pas répondre aux contributions.
Vous ne pouvez pas éditer vos contributions.
Vous ne pouvez pas effacez vos contributions.
Vous ne pouvez pas ajouter de nouveaux sondages.
Vous ne pouvez pas voter en sondage.
Vous ne pouvez pas attacher des fichiers à vos contributions.
Vous ne pouvez pas poster sans approbation.

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

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