Exemplo n.º 1
0
 * @copyright Copyright (c) 2010 - 2015 JoomShaper
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later
*/
//no direct accees
defined('_JEXEC') or die('resticted aceess');
$doc = JFactory::getDocument();
JHtml::_('jquery.framework');
JHtml::_('bootstrap.framework');
//Force load Bootstrap
unset($doc->_scripts[$this->baseurl . '/media/jui/js/bootstrap.min.js']);
// Remove joomla core bootstrap
//Load Helix
$helix3_path = JPATH_PLUGINS . '/system/helix3/core/helix3.php';
if (file_exists($helix3_path)) {
    require_once $helix3_path;
    $this->helix3 = helix3::getInstance();
} else {
    die('Please install and activate helix plugin');
}
//Coming Soon
if ($this->helix3->getParam('comingsoon_mode')) {
    header("Location: " . $this->baseUrl . "?tmpl=comingsoon");
}
//Class Classes
$body_classes = '';
if ($this->helix3->getParam('sticky_header')) {
    $body_classes .= ' sticky-header';
}
$body_classes .= $this->helix3->getParam('boxed_layout', 0) ? ' layout-boxed' : ' layout-fluid';
//Body Background Image
if ($bg_image = $this->helix3->getParam('body_bg_image')) {