* Add URL link to the 'name' and 'totalProjects' fileds of the data table on the product view page within program module.

This commit is contained in:
chentao
2023-06-16 14:37:06 +08:00
parent 2454f7ae94
commit 39bc8a888c
2 changed files with 16 additions and 1 deletions
+3 -1
View File
@@ -63,6 +63,7 @@ $config->program->productview->dtable->fieldList = array();
$config->program->productview->dtable->fieldList['name']['name'] = 'name';
$config->program->productview->dtable->fieldList['name']['title'] = $lang->nameAB;
$config->program->productview->dtable->fieldList['name']['type'] = 'title';
$config->program->productview->dtable->fieldList['name']['link'] = array('module' => 'product', 'method' => 'browse', 'params' => 'productID={id}');
$config->program->productview->dtable->fieldList['name']['nestedToggle'] = true;
$config->program->productview->dtable->fieldList['name']['checkbox'] = true;
$config->program->productview->dtable->fieldList['name']['show'] = true;
@@ -118,7 +119,8 @@ $config->program->productview->dtable->fieldList['totalPlans']['group'] = 'g5
$config->program->productview->dtable->fieldList['totalProjects']['name'] = 'totalProjects';
$config->program->productview->dtable->fieldList['totalProjects']['title'] = $lang->program->project;
$config->program->productview->dtable->fieldList['totalProjects']['type'] = 'text';
$config->program->productview->dtable->fieldList['totalProjects']['type'] = 'number';
$config->program->productview->dtable->fieldList['totalProjects']['link'] = array('module' => 'product', 'method' => 'project', 'params' => 'status=all&&productID={id}');
$config->program->productview->dtable->fieldList['totalProjects']['sortType'] = true;
$config->program->productview->dtable->fieldList['totalProjects']['group'] = 'g5';