$p->setDomain($page->getDomain());
$p->setLabel($r->titre);
+ $p->setTitle($r->titre);
$p->setParams(array('realisation_id' => $r->id));
$page->addPage($p);
}
$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));
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);
}
}
$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);