private function _video()
{
- //$GLOBALS['styleSheets'][]
- // = GLM_APP_BASE_URL . 'gallery/colorbox/colorbox.css';
- //$GLOBALS['bottomScripts'][]
- // = GLM_APP_BASE_URL . 'libjs/plugins/colorbox/1.3.15/jquery.colorbox-min.js';
- //$GLOBALS['bottomScripts'][]
- // = BASE_URL . 'Toolkit/Videos/libjs/thickbox.js';
$GLOBALS['bottomScripts'][]
= BASE_URL . 'Toolkit/Videos/libjs/videos.js';
$dbh = Toolkit_Database::getInstance();
$this->toolboxContent = $this->_toolboxPage->getBody(
$this->_catid, $bodyFactory
);
-// echo '<pre>'.print_r($this->toolboxContent, true).'</pre>';exit;
- $page = $this->_pageGateway->find($this->_catid);
+ $page = $this->_pageGateway->find($this->_catid);
$this->topParentId = $this->_pageGateway->findTopParent($this->_catid);
// set the metaTags
$this->isHomePage = false;
}
if ($this->_catid != HOME_ID) {
- $this->parentPageId = $this->_pageGateway->findTopParent($this->_catid);
+ $this->parentPageId
+ = $this->_pageGateway->findTopParent($this->_catid);
$this->pageId = $this->_catid;
}
$this->_navigationFactory->setGateway($this->_pageGateway);
if ( defined("VIDEOS")
&& VIDEOS
-// && $this->_catid == HOME_ID
) {
$this->_video();
}
$newNav[] = $item;
}
}
-// echo '<pre>'.print_r($newNav, true).'</pre>';exit;
$html = $this->_arrayToListHTML($newNav, 0, 'left');
return ($html) ? $html : '';
}
$newNav[] = $item;
}
}
-// echo '<pre>'.print_r($newNav, true).'</pre>';exit;
$html = $this->_arrayToListHTML($newNav, 0, 'off-canvas-list', true);
return ($html) ? $html : '';
}
? ' class="'.$className.'"'
: ' class="dropdown"';
}
- $styleCode = '';//($backgroundImage)
-// ? 'style="background-image: url('.$backgroundImage.');"'
-// : '';
+ $styleCode = '';
$result = "{$tabs}<ul{$mainClass}{$styleCode}>\n";
if ($backgroundImage) {
$result .= '<li class="mainNavLiImgContainer"><img class="mainNavImg" src="'.$backgroundImage.'" =></li>';
= $blocks->getPageBlocksAsArray((int)$parentId);
$cache->save(serialize($this->headlines), $parentId, 'Block');
}
-// echo '<pre>'.print_r($this->headlines, true).'</pre>';exit;
$this->hasHeadlines = !empty($this->headlines);
}