From: vincent@cubedesigners.com Date: Wed, 3 Dec 2014 13:46:22 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=4ceec17d2f9bf518da36f61c8f00f4089eeeca9e;p=cubedesigners-v7.git --- diff --git a/framework/application/Bootstrap.php b/framework/application/Bootstrap.php index 5c52db7..12e848d 100644 --- a/framework/application/Bootstrap.php +++ b/framework/application/Bootstrap.php @@ -65,6 +65,7 @@ class Bootstrap extends CubeIT_Bootstrap { $p->setDomain($page->getDomain()); $p->setLabel($r->titre); + $p->setTitle($r->titre); $p->setParams(array('realisation_id' => $r->id)); $page->addPage($p); } @@ -91,6 +92,7 @@ class Bootstrap extends CubeIT_Bootstrap { $p->setId($page->getId() . '/' . $r->id); $p->setAutoUri($r, $datas['seourl_stu'], $page->getLocale()); $p->setSitemap(true); + $p->setTitle($r->titre); $p->setEditable(false); $p->setParams(array('casestudy_id' => $r->id)); diff --git a/framework/application/views/helpers/Breadcrumbs.php b/framework/application/views/helpers/Breadcrumbs.php index 86e4346..2980081 100644 --- a/framework/application/views/helpers/Breadcrumbs.php +++ b/framework/application/views/helpers/Breadcrumbs.php @@ -3,10 +3,7 @@ class Cubedesigners_View_Helper_Breadcrumbs extends CubeIT_View_Helper_Abstract { public function breadcrumbs($attribs = array()) { - $items = array(); - - - return $this->microdataBreadcrumbs($items, 'nav', $attribs, '', true); + return $this->microdataBreadcrumbs('auto', 'nav', $attribs, '', true); } } diff --git a/framework/application/views/scripts/realisations/index.phtml b/framework/application/views/scripts/realisations/index.phtml index d277a15..3fa1849 100644 --- a/framework/application/views/scripts/realisations/index.phtml +++ b/framework/application/views/scripts/realisations/index.phtml @@ -2,8 +2,8 @@ $r = CubeIT_Util_Cms::unserialize($this->realisation); $this->headTitle($r->titre . ' - ' . $r->legende . ' / ' . $this->currentPage->getParent()->getTitle(), 'SET'); -$this->headSeo()->setDescription($this->realisation->description); -$this->headOpenGraph()->setDescription($this->realisation->description); +$this->headSeo()->setDescription($r->description); +$this->headOpenGraph()->setDescription($r->description); $this->headScript()->addScriptAndStyle('realisations'); echo $this->realisation($this->realisation);