Fork me on GitHub

Rapport de message :*
 

Re: ou mettre le code (installation du module I-Stats)

Titre du sujet : Re: ou mettre le code (installation du module I-Stats)
par upload sur 19/09/2006 16:12:55

juste apres apres ca dans la partie footer de ton theme

<img src="/images/firefox.gif" alt="MaroCanisme conseille FireFox !!" title="MaroCanisme conseille FireFox !!" 
     
</a>


Tu ajoute ça

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


ca devrai donner ca

<td id="obFooter" height="38" ><a href="http://www.mozilla.fr"
      <
img src="/images/firefox.gif" alt="MaroCanisme conseille FireFox !!" title="MaroCanisme conseille FireFox !!" </a>
<{if 
$xoops_isadmin != 1}>
              <
script type="text/Javascript">
          <!--
          
istat = new Image(1,1);
          
istat.src "http://URL_DE_VOTRE_SITE_XOOPS/modules/istats/include/counter.php?sw="+screen.width+"&sc="+screen.colorDepth+"&refer="+escape(document.referrer)+"&page="+location.href;
          
//-->
          
</script>
        <{/if}></td>


il faut aussi ajouter dans tes fichiers .css les classes suivantes

.statstable { margin:0px; padding:0px; width:auto; font-size: small; font-weight: normal;}
.stats { vertical-align: bottom; width:625px; margin:0; border: 0;}
.statsimg { vertical-align: bottom; width:25px; text-align:center;}
.statsimgweekday { vertical-align: bottom; font-size: small; font-weight: normal;}
.statswords { border-width: 0; font-size: x-small; background-color: transparent; font-weight: normal; text-align:center; width:25px;}
.statsfore { width: 30%; padding:2px;}
.statsdiv { text-align:center; padding:0px;}

Le module est livré quand même avec toutes ces explications...bref
Et aussi pour le titre de ton sujet "ou mettre le code" de quoi? où ? c'est pas tres explicite tout ça...
Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

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