Im Anhang hab ich mal Screenshots von diesem Editor.
Im Seitenlayout sind keine internen noch externen Stylesheets hinzugefügt.
geladen werden diese jedoch (liegen als less-File) in der Dateiverwaltung.
Irgendwo wurden auch Basics definiert, ich find das aber nicht wo das sein könnte:
body {
font-family: @text-font-family;
font-size: @text-font-size;
line-height: 1.5;
color: @text-color;
background: @background;
}
Im Editor sind die Felder ja leer
Das ist die fe_page:
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; ?>">
<meta name="generator" content="Contao Open Source CMS">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<?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}} wrapper_<?php echo \themes4contao\themes4contao::get('alpha_layout'); ?><?php if ($this->class): ?> <?php echo $this->class; ?><?php endif; ?>"<?php if ($this->onload): ?> onload="<?php echo $this->onload; ?>"<?php endif; ?>>
<!-- Facebook like box
<div class="facebook-wdiget hidden-xs">
<div class="trigger"></div>
<div class="content">{{insert_module::68}}</div>
</div>-->
<?php echo $this->getCustomSections('top'); ?>
<div id="wrapper">
<?php if ($this->header): ?>
<header id="header">
<div class="inside container">
<?php echo $this->header; ?>
</div>
</header>
<?php endif; ?>
<?php echo $this->getCustomSections('before'); ?>
<div id="container">
<div class="container">
<div class="row">
<?php /* Full width */ ?>
<?php if (!$this->left && !$this->right): ?>
<div id="main" class="col-md-12">
<?php echo $this->main; ?>
<?php echo $this->getCustomSections('main'); ?>
</div>
<?php endif; ?>
<?php /* Right column */ ?>
<?php if ($this->right && !$this->left): ?>
<div id="main" class="col-md-9">
<?php echo $this->main; ?>
<?php echo $this->getCustomSections('main'); ?>
</div>
<div id="right" class="col-md-3">
<?php echo $this->right; ?>
</div>
<?php endif; ?>
<?php /* Left column */ ?>
<?php if ($this->left && !$this->right): ?>
<div id="left" class="col-md-3">
<?php echo $this->left; ?>
</div>
<div id="main" class="col-md-9">
<?php echo $this->main; ?>
<?php echo $this->getCustomSections('main'); ?>
</div>
<?php endif; ?>
<?php /* Three columns */ ?>
<?php if ($this->right && $this->left): ?>
<div id="left" class="col-md-3">
<?php echo $this->left; ?>
</div>
<div id="main" class="col-md-6">
<?php echo $this->main; ?>
<?php echo $this->getCustomSections('main'); ?>
</div>
<div id="right" class="col-md-3">
<?php echo $this->right; ?>
</div>
<?php endif; ?>
</div>
</div>
</div>
<?php echo $this->getCustomSections('after'); ?>
<?php if ($this->footer): ?>
<footer id="footer">
<div class="inside">
<?php echo $this->footer; ?>
</div>
</footer>
<?php endif; ?>
</div>
<?php echo $this->getCustomSections('bottom'); ?>
<?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