It looks like you're new here. If you want to get involved, click one of these buttons!
$config['default_layout'] = 'main';
$config['layouts_folder'] = '_layouts';
$config['layouts']['main'] = array(
'fields' => array(
'Header' => array('type' => 'fieldset', 'label' => 'Header', 'class' => 'tab'),
'page_title' => array('label' => lang('layout_field_page_title')),
'meta_description' => array('label' => lang('layout_field_meta_description')),
'meta_keywords' => array('label' => lang('layout_field_meta_keywords')),
'Body' => array('type' => 'fieldset', 'label' => 'Body', 'class' => 'tab'),
'heading' => array('label' => lang('layout_field_heading')),
'body' => array('label' => lang('layout_field_body'), 'type' => 'textarea', 'description' => lang('layout_field_body_description')),
'body_class' => array('label' => lang('layout_field_body_class')),
'color' => array('type' => 'colorpicker'), // the type parameter is not really needed because of the representative value
)
);
$config['layouts']['none'] = array(
'label' => 'None',
'fields' => array(
'copy' => array('type' => 'copy', 'label' => lang('layout_field_none_copy')),
'body' => array('type' => 'textarea', 'label' => lang('layout_field_body')),
)
);
<?php $CI->load->view('_blocks/header')?>
<div class="row collapse" id="main_inner">
<div class="twelve columns">
<?php echo fuel_var('body', ''); ?>
</div>
</div>
<?php $CI->load->view('_blocks/footer')?>
<?php $CI->load->view('_blocks/header_empty')?>
<div class="row" id="main_inner">
<div class="twelve columns">
<?php echo fuel_var('body', ''); ?>
</div>
</div>
<script>
<google script goes here>
</script>
</body>
</html>
<?php
$CI =& get_instance();
fuel_set_var( 'layout', 'none' );
Comments
I'm bumfuzzled. On the hunt for the culprit.