{"id":18319971,"url":"https://github.com/gcyrillus/plx_artviews","last_synced_at":"2025-09-08T05:34:45.807Z","repository":{"id":113725881,"uuid":"490838205","full_name":"gcyrillus/plx_artViews","owner":"gcyrillus","description":"Compteur de vues / PostView stat","archived":false,"fork":false,"pushed_at":"2024-02-10T21:31:15.000Z","size":194,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"v.0.5.3","last_synced_at":"2025-04-09T14:24:55.261Z","etag":null,"topics":["cms","plugin","pluxml","xml"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gcyrillus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-10T19:42:52.000Z","updated_at":"2024-11-26T12:08:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"64586c3f-d57c-4488-b734-12ad8f988ee3","html_url":"https://github.com/gcyrillus/plx_artViews","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gcyrillus/plx_artViews","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gcyrillus%2Fplx_artViews","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gcyrillus%2Fplx_artViews/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gcyrillus%2Fplx_artViews/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gcyrillus%2Fplx_artViews/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gcyrillus","download_url":"https://codeload.github.com/gcyrillus/plx_artViews/tar.gz/refs/heads/v.0.5.3","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gcyrillus%2Fplx_artViews/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274136768,"owners_count":25228445,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cms","plugin","pluxml","xml"],"created_at":"2024-11-05T18:14:49.087Z","updated_at":"2025-09-08T05:34:45.776Z","avatar_url":"https://github.com/gcyrillus.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch2\u003eAide du plugin\u003c/h2\u003e\n\t\n\u003ch3\u003eConfiguration\u003c/h3\u003e\n\u003cp\u003eOptionnelle\u003c/p\u003e\n\u003cp\u003eLe filtrage des robots indexeur peut-être désactivé (activé par défaut)\u003c/p\u003e\n\u003cp\u003eLe nombre de lien vers les articles les plus lus peut-être modifié (default:5)\u003c/p\u003e\n\u003cp\u003e\u003cb\u003eLe fichier stockant les infos de configuration et de stockage\u003c/b\u003e est situé dans le repertoire de \u003ccode\u003edata/configuration/plugins\u003c/code\u003e \u003csub\u003e\u003csup\u003e(repertoire commun de configuration des plugins)\u003c/sup\u003e\u003c/sub\u003e, ce fichier est désactiver lorsque le plugin est désactiver, \u003cb\u003ece fichier est supprimé lorsque vous supprimez le plugin\u003c/b\u003e. Faites en un backup si vous souhaitez preservé la configuration et comptage des vues.\u003c/p\u003e\n\u003ch3\u003eAffichage Dans les fichiers des  théme\u003c/h3\u003e\n  \u003ch4\u003eAfficher le nombre de vue\u003c/h4\u003e\n\u003cp\u003ePour afficher le nombre de vue, inserez le code suivant :\n\u003ccode\u003e\u0026lt;?php if (eval($plxMotor-\u003eplxPlugins-\u003ecallHook('showViews'))) return; ?\u003e\u003c/code\u003e à l'endroit ou vous voulez le faire apparaitre.\u003c/p\u003e\n\u003cp\u003e\u003cb\u003eExemple:\u003c/b\u003e Dans les fichiers \u003ccode\u003ehome.php, categorie.php, article.php,tag.php , ...\u003c/code\u003e du théme par défaut, vous pouvez l'inserer sous le titre de l'article.\u003csmall\u003e\u003ci\u003e(extrait du code du fichier ci-dessous)\u003c/i\u003e\u003c/small\u003e\n\u003cpre\u003e\u003ccode\u003e\u0026lt;header\u003e\n\t\u0026lt;span class=\"art-date\"\u003e\n\t\t\u0026lt;time datetime=\"\u0026lt;?php $plxShow-\u003eartDate('#num_year(4)-#num_month-#num_day'); ?\u003e\"\u003e\n\t\t\t\u0026lt;?php $plxShow-\u003eartDate('#num_day #month #num_year(4)'); ?\u003e\n\t\t\u0026lt;/time\u003e\n\t\u0026lt;/span\u003e\n\t\u0026lt;h2\u003e\n\t\t\u0026lt;?php $plxShow-\u003eartTitle('link'); ?\u003e\n\t\u0026lt;/h2\u003e\n\t\u0026lt;div\u003e\n\t\t\u0026lt;small\u003e\n\t\t\t\u0026lt;span class=\"written-by\"\u003e\n\t\t\t\t\u0026lt;?php $plxShow-\u003elang('WRITTEN_BY'); ?\u003e \u0026lt;?php $plxShow-\u003eartAuthor() ?\u003e\n\t\t\t\u0026lt;/span\u003e\n\u003cb style=\"color:green\"\u003e\u0026lt;!--  insertion du code --\u003e\u003c/b\u003e\u003cb style=\"color:tomato\"\u003e\u0026lt;?php if (eval($plxMotor-\u003eplxPlugins-\u003ecallHook('showViews'))) return; ?\u003e\u003c/b\u003e\n\t\t\t\u0026lt;span class=\"art-nb-com\"\u003e\n\t\t\t\t\u0026lt;?php $plxShow-\u003eartNbCom(); ?\u003e\n\t\t\t\u0026lt;/span\u003e\n\t\t\u0026lt;/small\u003e\n\t\u0026lt;/div\u003e\u003c/code\u003e\u003c/pre\u003e\u003c/p\u003e\n\u003ch4\u003eAfficher une listes des articles les plus lus\u003c/h4\u003e\n\u003cp\u003ePour afficher une liste des aricles les plus lus, inserer le code ci dessous à l'endroit du théme où vous souhaitez le voir apparaitre\u003c/p\u003e\n\u003cp\u003e\u003cb\u003eexemple\u003c/b\u003e pour l'ajouter à la sidebar du thème par défaut entre les derniers articles et les tags ( fichier \u003ccode\u003esidebar.php\u003c/code\u003e )\u003c/p\u003e\n\u003cpre\u003e\u003ccode\u003e\t\u0026lt;h3\u003e\n\t\t\u0026lt;?php $plxShow-\u003elang('LATEST_ARTICLES'); ?\u003e\n\t\u0026lt;/h3\u003e\n\t\u0026lt;ul class=\"lastart-list unstyled-list\"\u003e\n\t\t\u0026lt;?php $plxShow-\u003elastArtList('\u0026lt;li\u003e\u0026lt;a class=\"#art_status\" href=\"#art_url\" title=\"#art_title\"\u003e#art_title\u0026lt;/a\u003e\u0026lt;/li\u003e'); ?\u003e\n\t\u0026lt;/ul\u003e\n\u003cb style=\"color:green\"\u003e\u0026lt;!--  insertion du code --\u003e\u003c/b\u003e\u003cb style=\"color:tomato\"\u003e\u0026lt;?php if (eval($plxMotor-\u003eplxPlugins-\u003ecallHook('mostViews'))) return; ?\u003e\u003c/b\u003e\t\t\n\t\u0026lt;h3\u003e\n\t\t\u0026lt;?php $plxShow-\u003elang('TAGS'); ?\u003e\n\t\u0026lt;/h3\u003e\n\u003c/code\u003e\u003c/pre\u003e\n\n\u003chr\u003e\naperçu administration:\n\u003cimg src=\"https://github.com/gcyrillus/plx_artViews/blob/v0.5/vues0.5.jpg\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgcyrillus%2Fplx_artviews","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgcyrillus%2Fplx_artviews","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgcyrillus%2Fplx_artviews/lists"}