portal application name

This commit is contained in:
Yuri Kuznetsov
2024-10-30 19:36:07 +02:00
parent 61f6d55934
commit e8cf54cfb8
5 changed files with 11 additions and 1 deletions
@@ -47,6 +47,7 @@ class Config extends BaseConfig
* @var string[]
*/
private $portalParamList = [
'applicationName',
'companyLogoId',
'tabList',
'quickCreateList',
@@ -108,6 +109,10 @@ class Config extends BaseConfig
$this->portalParamsSet = true;
if (empty($data['applicationName'])) {
unset($data['applicationName']);
}
if (empty($data['language'])) {
unset($data['language']);
}
+1
View File
@@ -40,6 +40,7 @@ class Portal extends \Espo\Core\ORM\Entity
* @var string[]
*/
protected $settingsAttributeList = [
'applicationName',
'companyLogoId',
'tabList',
'quickCreateList',
@@ -7,6 +7,7 @@
"isActive": "Is Active",
"isDefault": "Is Default",
"tabList": "Tab List",
"applicationName": "Application Name",
"quickCreateList": "Quick Create List",
"companyLogo": "Logo",
"theme": "Theme",
@@ -27,7 +27,7 @@
{
"rows": [
[{"name": "companyLogo"}, {"name": "theme"}],
[{"name": "layoutSet"}, false],
[{"name": "layoutSet"}, {"name": "applicationName"}],
[{"name": "tabList"}, {"name": "quickCreateList"}],
[{"name": "dashboardLayout", "fullWidth": true}]
],
@@ -48,6 +48,9 @@
"translation": "Global.scopeNames",
"view": "views/portal/fields/quick-create-list"
},
"applicationName": {
"type": "varchar"
},
"companyLogo": {
"type": "image"
},