Der link von dir hat mir schon etwas weitergeholfen.
Die fe_page muss ich natürlich etwas abändern, hier mal mein template:
PHP-Code:
<!DOCTYPE html>
<html lang="<?php echo $this->language; ?>">
<head>
<meta charset="<?php echo $this->charset; ?>">
<title><?php echo $this->pageTitle; ?> - <?php echo $this->mainTitle; ?></title>
<base href="<?php echo $this->base; ?>">
<meta name="robots" content="<?php echo $this->robots; ?>">
<meta name="description" content="<?php echo $this->description; ?>">
<meta name="keywords" content="<?php echo $this->keywords; ?>">
<?php echo $this->viewport; ?>
<?php echo $this->framework; ?>
<?php echo $this->stylesheets; ?>
<?php echo $this->mooScripts; ?>
<?php echo $this->head; ?>
<!--[if lt IE 9]><script src="<?php echo TL_ASSETS_URL; ?>assets/html5shiv/<?php echo HTML5SHIV; ?>/html5shiv.js"></script><![endif]-->
</head>
<body id="top" class="{{ua::class}}<?php if ($this->class): ?> <?php echo $this->class; ?><?php endif; ?>"<?php if ($this->onload): ?> onload="<?php echo $this->onload; ?>"<?php endif; ?>>
<?php echo $this->getCustomSections('top'); ?>
<div id="wrapper">
<?php if ($this->header): ?>
<header id="logo">
<div class="inside">
<?php echo $this->header; ?>
</div>
</header>
<?php endif; ?>
<?php if ($this->sections['Keyvisual']): ?>
<div id="bannerrol">
<div class="inside">
<?php echo $this->sections['Keyvisual']; ?>
</div>
</div>
<?php endif; ?>
<div id="contentwrap">
<div class="inside">
<div id="content">
<?php echo $this->main; ?>
</div>
</div>
<?php if ($this->left): ?>
<aside id="left">
<div class="inside">
<?php echo $this->left; ?>
</div>
</aside>
<?php endif; ?>
<?php if ($this->right): ?>
<aside id="sidebar">
<div class="inside">
<?php echo $this->right; ?>
</div>
</aside>
<?php endif; ?>
</div>
<?php if ($this->sections['Kachel-rol']): ?>
<div id="kachelrol">
<div class="inside">
<?php echo $this->sections['Kachel-rol']; ?>
</div>
</div>
<?php endif; ?>
<?php if ($this->sections['News']): ?>
<div id="news">
<div class="inside">
<?php echo $this->sections['News']; ?>
</div>
</div>
<?php endif; ?>
<?php if ($this->sections['Customer']): ?>
<div id="customer">
<div class="inside">
<?php echo $this->sections['Customer']; ?>
</div>
</div>
<?php endif; ?>
<?php if ($this->sections['Content-navigation']): ?>
<div id="contentsubnav">
<div class="inside">
<?php echo $this->sections['Content-navigation']; ?>
</div>
</div>
<?php endif; ?>
<?php if ($this->footer): ?>
<footer id="footer">
<div class="inside">
<?php echo $this->footer; ?>
</div>
</footer>
<?php endif; ?>
</div>
<?php echo $this->mootools; ?>
<?php if (!$this->disableCron): ?>
<script>
<?php if ($this->layout->addJQuery): ?>
setTimeout(function(){jQuery.ajax("system/cron/cron.txt",{complete:function(e){var t=e.responseText||0;parseInt(t)<Math.round(+(new Date)/1e3)-<?php echo $this->cronTimeout; ?>&&jQuery.ajax("system/cron/cron.php")}})},5e3)
<?php else: ?>
setTimeout(function(){(new Request({url:"system/cron/cron.txt",onComplete:function(e){e||(e=0),parseInt(e)<Math.round(+(new Date)/1e3)-<?php echo $this->cronTimeout; ?>&&(new Request({url:"system/cron/cron.php"})).get()}})).get()},5e3)
<?php endif; ?>
</script>
<?php endif; ?>
</body>
</html>
Lesezeichen