Hi,
I created module called 'Agenciados' and now I'm having a problem with the 'Agenciados' subpanel.
I don't understand because it gives this error. We have created several modules and I had never done this.
In the module 'Documents' and' Contacts' I have the subpanel 'Agenciados'.
When I do 'Select' 'Agenciados', opens the popup window but not seeing the search or the list (view image: http://www.dibconsulting.com/sites/i...agenciados.jpg )
I have seen the files' popupdefs.php ',' searchdefs.php 'and' listviewdefs.php 'and not encountered any error. The files are:
popupdefs.php
searchdefs.phpPHP Code:$module_name = 'Agenciados';
$_module_name = 'Agenciados';
$popupMeta = array('moduleMain' => $module_name,
'varName' => $module_name,
'orderBy' => $_module_name.'.name',
'whereClauses' =>
array('name' => $_module_name . '.name',
),
'searchInputs'=> array($_module_name. '_number', 'name', 'priority','status'),
'listview' => 'modules/' . $module_name. '/metadata/listviewdefs.php',
'search' => 'modules/' . $module_name . '/metadata/searchdefs.php',
);
listviewdefs.phpPHP Code:$module_name = 'Agenciados';
$searchdefs[$module_name] = array(
'templateMeta' => array(
'maxColumns' => '3',
'widths' => array('label' => '10', 'field' => '30'),
),
'layout' => array(
'basic_search' => array(
'name',
array('name'=>'current_user_only', 'label'=>'LBL_CURRENT_USER_FILTER', 'type'=>'bool'),
),
'advanced_search' => array(
'name',
array('name' => 'assigned_user_id', 'label' => 'LBL_ASSIGNED_TO', 'type' => 'enum', 'function' => array('name' => 'get_user_array', 'params' => array(false))),
),
),
);
Someone can help me?PHP Code:$module_name = 'Agenciados';
$listViewDefs[$module_name] = array(
'NAME' => array(
'width' => '32',
'label' => 'LBL_NAME',
'default' => true,
'link' => true),
'ASSIGNED_USER_NAME' => array(
'width' => '9',
'label' => 'LBL_ASSIGNED_TO_NAME',
'default' => true),
);
Thanks


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks