diff --git a/module/blog/blog.php b/module/blog/blog.php index c7f90116..a85a7f83 100755 --- a/module/blog/blog.php +++ b/module/blog/blog.php @@ -16,7 +16,7 @@ class blog extends common { - const VERSION = '6.6'; + const VERSION = '6.7'; const REALNAME = 'Blog'; const DELETE = true; const UPDATE = '0.0'; @@ -871,7 +871,7 @@ class blog extends common } } // Pagination - $pagination = helper::pagination($articleIds, $this->getUrl(), $this->getData(['module', $this->getUrl(0), 'config', 'itemsperPage'])); + $pagination = helper::pagination($articleIds, $this->getUrl(), $this->getData(['module', $this->getUrl(0), 'config', 'itemsperPage']), '#article'); // Liste des pages self::$pages = $pagination['pages']; // Articles en fonction de la pagination diff --git a/module/blog/changes.md b/module/blog/changes.md index 000bb906..84d8d250 100755 --- a/module/blog/changes.md +++ b/module/blog/changes.md @@ -1,4 +1,6 @@ +# version 6.7 +- Ancre article qui affiche le début de l'article au clic sur la barre de pages, fonction utile lorsque le module est sous la page # version 6.6 - Position de l'icône RSS - Présentation en tableau amélioration du visuel diff --git a/module/blog/view/index/index.php b/module/blog/view/index/index.php index 3c5f8177..77a6bf5a 100755 --- a/module/blog/view/index/index.php +++ b/module/blog/view/index/index.php @@ -9,7 +9,7 @@ -
+
$article): ?> getData(['module', $this->getUrl(0), 'config', 'layout']) === true): ?>