Thank you Cyberek! I don't see the module positions in the php...
<?php
/**
*
* Default view
*
* @version 1.0.0
* @package Gavern Framework
* @copyright Copyright (C) 2010 - 2011 GavickPro. All rights reserved.
*
*/
// No direct access.
defined('_JEXEC') or die;
if($this->getParam("cwidth_position", 'head') == 'head') {
$this->generateColumnsWidth();
}
$this->addCSSRule('.gkWrap { width: ' . $this->getParam('template_width','980px') . '!important; }');
$tpl_page_suffix = '';
if($this->page_suffix != '') {
$tpl_page_suffix = ' class="'.$this->page_suffix.'"';
}
$tpl_name = str_replace(' ', '_', JText::_('TPL_GK_LANG_NAME'));
$user = JFactory::getUser();
// getting User ID
$userID = $user->get('id');
// getting params
$option = JRequest::getCmd('option', '');
$view = JRequest::getCmd('view', '');
// defines if register is active
define('GK_REGISTER', ($this->modules('register') ? $userID == 0 : false));
// defines if login is active
define('GK_LOGIN', $this->modules('login'));
// defines if com_users
define('GK_COM_USERS', $option == 'com_users' && ($view == 'login' || $view == 'registration'));
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:og="http://ogp.me/ns#"
xmlns:fb="http://ogp.me/ns/fb#"
xml:lang="<?php echo $this->API->language; ?>" lang="<?php echo $this->API->language; ?>">
<head>
<?php if($this->getParam("chrome_frame_support", '0') == '1') : ?>
<meta http-equiv="X-UA-Compatible" content="chrome=1"/>
<?php endif; ?>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<jdoc:include type="head" />
<?php $this->loadBlock('head'); ?>
<?php $this->loadBlock('cookielaw'); ?>
</head>
<body<?php echo $tpl_page_suffix; ?>>
<div class="bg">
<!--[if IE 6]>
<div id="gkInfobar"><a href="http://browsehappy.com"><?php echo JText::_('TPL_GK_LANG_IE6_BAR'); ?></a></div>
<![endif]-->
<?php if((GK_REGISTER || GK_LOGIN) && !GK_COM_USERS) : ?>
<div id="gkPopup">
<div>
<div class="gkWrap gkPopupWrap">
<?php if(GK_LOGIN): ?>
<?php $this->loadBlock('tools/login'); ?>
<?php endif; ?>
<?php if(GK_REGISTER): ?>
<?php $this->loadBlock('tools/register'); ?>
<?php endif; ?>
</div>
</div>
</div>
<?php endif; ?>
<?php $this->messages('message-position-1'); ?>
<div id="gkPageTop" class="gkMain gkWrap clear<?php if((GK_REGISTER || GK_LOGIN) && !GK_COM_USERS) : ?> marginTop<?php endif; ?>">
<?php if(isset($_COOKIE['gkGavernMobile'.$tpl_name]) && $_COOKIE['gkGavernMobile'.$tpl_name] == 'desktop') : ?>
<div class="mobileSwitch gkWrap">
<a href="javascript:setCookie('gkGavernMobile<?php echo $tpl_name; ?>', 'mobile', 365);window.location.reload();"><?php echo JText::_('TPL_GK_LANG_SWITCH_TO_MOBILE'); ?></a>
</div>
<?php endif; ?>
<?php $this->loadBlock('logo'); ?>
</div>
<div id="wrapperContent" class="gkWrap">
<div id="wrapperContent2">
<?php $this->loadBlock('nav'); ?>
<?php $this->messages('message-position-2'); ?>
<?php $this->loadBlock('header'); ?>
<?php $this->loadBlock('top'); ?>
<?php $this->loadBlock('main'); ?>
<?php $this->loadBlock('user'); ?>
</div>
</div>
</div>
<div id="bottomWrap" class="gkWrap">
<div>
<?php $this->loadBlock('bottom'); ?>
</div>
</div>
<div id="footerWrap" class="gkWrap">
<?php $this->loadBlock('footer'); ?>
</div>
<?php $this->loadBlock('social'); ?>
<jdoc:include type="modules" name="debug" />
</body>
</html>