Added option to dynamicly set the sub-form layout from global options. Fixed bug in compiler that caused index warning.
This commit is contained in:
@ -257,6 +257,9 @@ class ComponentbuilderModelComponent_site_views extends JModelAdmin
|
||||
$form->setValue($redirectedField, null, $redirectedValue);
|
||||
}
|
||||
}
|
||||
|
||||
// update the addsite_views (sub form) layout
|
||||
$form->setFieldAttribute('addsite_views', 'layout', ComponentbuilderHelper::getSubformLayout('component_site_views', 'addsite_views'));
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user