From 72f027d2c9a297656b8ab47046b67f0dc892c98f Mon Sep 17 00:00:00 2001 From: fredtempez Date: Wed, 6 Feb 2019 17:05:28 +0100 Subject: [PATCH] breadcrumb v3 with link --- core/core.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/core/core.php b/core/core.php index ca0b1c08..af891d42 100644 --- a/core/core.php +++ b/core/core.php @@ -1332,8 +1332,11 @@ class core extends common { $title = $this->getData(['page', $this->getUrl(0), 'title']); if (!empty($this->getData(['page', $this->getUrl(0), 'parentPageId'])) && $this->getData(['page', $this->getUrl(0), 'breadCrumb'])) { - $title =ucfirst($this->getData(['page', $this->getUrl(0), 'parentPageId'])) . - ' › '. + $title = '' . + ucfirst($this->getData(['page', $this->getUrl(0), 'parentPageId'])) . + ' › '. $this->getData(['page', $this->getUrl(0), 'title']); } // Importe la page @@ -1547,7 +1550,7 @@ class core extends common { if($this->output['metaTitle'] === '') { if($this->output['title']) { $this->addOutput([ - 'metaTitle' => $this->output['title'] . ' - ' . $this->getData(['config', 'title']) + 'metaTitle' => strip_tags($this->output['title']) . ' - ' . $this->getData(['config', 'title']) ]); } else {