init
This commit is contained in:
12
custom/modules/Documents/Ext/Vardefs/vardefs.ext.php
Executable file
12
custom/modules/Documents/Ext/Vardefs/vardefs.ext.php
Executable file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
//WARNING: The contents of this file are auto-generated
|
||||
|
||||
|
||||
$dictionary['Document']['fields']['ecmproducts'] = array (
|
||||
'name' => 'ecmproducts',
|
||||
'type' => 'link',
|
||||
'relationship' => 'ecmproducts_documents',
|
||||
'source' =>'non-db',
|
||||
);
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
// created: 2014-01-29 14:16:17
|
||||
$subpanel_layout['list_fields'] = array (
|
||||
'document_name' =>
|
||||
array (
|
||||
'type' => 'varchar',
|
||||
'vname' => 'LBL_NAME',
|
||||
'widget_class' => 'SubPanelDetailViewLink',
|
||||
'width' => '10%',
|
||||
'default' => true,
|
||||
),
|
||||
'description' =>
|
||||
array (
|
||||
'type' => 'text',
|
||||
'vname' => 'LBL_DESCRIPTION',
|
||||
'sortable' => false,
|
||||
'width' => '10%',
|
||||
'default' => true,
|
||||
),
|
||||
'date_entered' =>
|
||||
array (
|
||||
'type' => 'datetime',
|
||||
'vname' => 'LBL_DATE_ENTERED',
|
||||
'width' => '10%',
|
||||
'default' => true,
|
||||
),
|
||||
);
|
||||
?>
|
||||
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
// created: 2014-01-22 11:24:31
|
||||
$subpanel_layout['list_fields'] = array (
|
||||
'document_name' =>
|
||||
array (
|
||||
'name' => 'document_name',
|
||||
'vname' => 'LBL_LIST_DOCUMENT_NAME',
|
||||
'widget_class' => 'SubPanelDetailViewLink',
|
||||
'width' => '30%',
|
||||
'default' => true,
|
||||
),
|
||||
'edit_button' =>
|
||||
array (
|
||||
'vname' => 'LBL_EDIT_BUTTON',
|
||||
'widget_class' => 'SubPanelEditButton',
|
||||
'module' => 'Documents',
|
||||
'width' => '5%',
|
||||
'default' => true,
|
||||
),
|
||||
'remove_button' =>
|
||||
array (
|
||||
'vname' => 'LBL_REMOVE',
|
||||
'widget_class' => 'SubPanelRemoveButton',
|
||||
'module' => 'Documents',
|
||||
'width' => '5%',
|
||||
'default' => true,
|
||||
),
|
||||
);
|
||||
?>
|
||||
Reference in New Issue
Block a user