<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>compteur — Forum de PluXml</title>
        <link>https://forum.pluxml.org/index.php?p=/</link>
        <pubDate>Sat, 04 Apr 2026 12:37:24 +0000</pubDate>
        <language>fr</language>
            <description>compteur — Forum de PluXml</description>
    <atom:link href="https://forum.pluxml.org/index.php?p=/discussions/tagged/compteur/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>[plugin] Compteur de vues</title>
        <link>https://forum.pluxml.org/index.php?p=/discussion/7178/plugin-compteur-de-vues</link>
        <pubDate>Wed, 18 May 2022 13:05:08 +0000</pubDate>
        <category>Plugins</category>
        <dc:creator>gcyrillus-nomade</dc:creator>
        <guid isPermaLink="false">7178@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Voici un plugin pour compter le nombre de vues de vos articles.<br />
repo <a href="https://github.com/gcyrillus/plx_artViews" rel="nofollow">https://github.com/gcyrillus/plx_artViews</a><br />
archive <a href="https://github.com/gcyrillus/plx_artViews/archive/refs/heads/v0.5.zip" rel="nofollow">https://github.com/gcyrillus/plx_artViews/archive/refs/heads/v0.5.zip</a><br />
<img src="http://gcyrillus.alwaysdata.net/data/medias/plugin_vues05.jpg" alt="" title="" /></p>

<p>langues disponibles : fr et en</p>

<p>Le plugin affiche et compte les vues grâce à un code à insérer dans les fichiers de vos thème à l'endroit ou voulez qu'il apparaisse.<br />
Pour afficher le nombre de vues : <code>&lt;?php if (eval($plxMotor-&gt;plxPlugins-&gt;callHook('showViews'))) return; ?&gt;</code><br />
Pour afficher la liste des articles les plus lus : <code>&lt;?php if (eval($plxMotor-&gt;plxPlugins-&gt;callHook('mostViews'))) return; ?&gt;</code></p>

<p>Installation:</p>

<ul>
<li>copier le répertoire <code>plx_artViews</code> dans le répertoire plugins puis activer le plugin</li>
<li>cliquer sur aide  ou configuration (une configuration par défaut est déjà appliquée) pour copier/coller les codes à inserer dans vos fichiers de thème.<br />
aperçu coté front:<br />
<img src="http://gcyrillus.alwaysdata.net/data/medias/apercu-front_vues05.jpg" alt="" title="" /></li>
</ul>

<p><img src="http://gcyrillus.alwaysdata.net/data/medias/apercu-front_most_vues05.jpg" alt="" title="" /></p>

<p>Aperçu coté administration :<br />
 <img src="http://gcyrillus.alwaysdata.net/data/medias/vues05.jpg" alt="" title="" /></p>
]]>
        </description>
    </item>
   </channel>
</rss>
