]> _ Git - cubedesigners-v7.git/commitdiff
(no commit message)
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 3 Dec 2014 13:46:22 +0000 (13:46 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 3 Dec 2014 13:46:22 +0000 (13:46 +0000)
framework/application/Bootstrap.php
framework/application/views/helpers/Breadcrumbs.php
framework/application/views/scripts/realisations/index.phtml

index 5c52db7e58d4c106f32fd80f62b114d5e836a9d4..12e848d6b96733cce81de13d59109942d45b1182 100644 (file)
@@ -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));
 
index 86e434699aead521630104d5a82077fa500fb1a8..29800813cb9092593173bbb3d0ccca5b76dde50a 100644 (file)
@@ -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);
        }
 
 }
index d277a15c7be5e8f5aafe03413856a247fbd95536..3fa1849cf3bef14df6aadef2c67fff7133414824 100644 (file)
@@ -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);