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:
21 files changed
+219
-30
No files matched your search
@@ -525,7 +525,13 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin
|
||||
{
|
||||
$form->setValue('guid', null, ComponentbuilderHelper::GUID());
|
||||
}
|
||||
|
||||
|
||||
// update the join_view_table (sub form) layout
|
||||
$form->setFieldAttribute('join_view_table', 'layout', ComponentbuilderHelper::getSubformLayout('dynamic_get', 'join_view_table'));
|
||||
|
||||
// update the join_db_table (sub form) layout
|
||||
$form->setFieldAttribute('join_db_table', 'layout', ComponentbuilderHelper::getSubformLayout('dynamic_get', 'join_db_table'));
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user