It looks like you're new here. If you want to get involved, click one of these buttons!
'body' => array('data'=>array('link_pdfs'=>'true'),'label' => lang('layout_field_body'), 'type' => 'textarea', 'description' => lang('layout_field_body_description')),
function form_fields($values = array()) {
$fields['myfield']['data'] = array('link_pdfs'=>'true');
...
}
Comments
My question is where is the layout data for that Blocks form? MY_fuel_layouts.php has the Pages form layout by default but I can't seem to find where the layout definition is for this Blocks form...
maybe you are looking for modules/fuel/models/fuel_blocks_model.php, "form_fields" method that is responsible for the form layout....
http://docs.getfuelcms.com/modules/simple#overwrites
Might it be a good idea to expose all the "standard" modules' layouts to MY_fuel_layouts.php in the future?