Hi,
I am in a process of updating the new Version 5 with settings from Version 4.1.
Here's where I am stuck now:
In the old version 4.1, Hook.js contained the logo information:
But with the new release the Hook.js definition is different, I cannot port as-is from version 4. I changed part of the configuration I thought would applied but it did not.
So how should I reconfigure version 5 to use my company logo and color?
I am in a process of updating the new Version 5 with settings from Version 4.1.
Here's where I am stuck now:
In the old version 4.1, Hook.js contained the logo information:
Code:
Ext.define('Portal.Hook', { aboutPage : '/clix/about/index.html', favicon : '/clix/images/favicon.ico?version=20140923', singleton : true, loginUI : { backgroundColor : '#e9eaed', form : { border : false, width : 425, title : null, titleAlign : 'center', bodyStyle : { "background-color" : "#f6f7f8" } }, logo : { padding : 20, url : '/clix/images/clix_logo.png', height : 70, width : 200, style : { "text-align" : "center" } } }, lockUI : { form : { border : false, height : 190, width : 420, title : null, titleAlign : 'center', bodyStyle : { "background-color" : "#f6f7f8" } }, logo : { padding : 15, url : '/clix/images/clix_logo.png', height : 55, width : 200, style : { "text-align" : "center" } } }, mainUI : { logo : { paddingLeft : 15, paddingRight : 15, paddingBottom : 0, paddingTop : 5, url : '/clix/images/clix_logo.png', height : 30, width : 120 } },
Code:
Ext.define('Portal.Hook', { singleton : true, aboutPage : '/clix/about/index.html', favicon : '/clix/images/favicon.ico?version=20140923', portalSettingOverrides : { // place settings overrides here... // }, ui : { /* Change the image used for the Portal login. One may be specified for each theme or the "default" will be used for all. Examples: 1.)Same image used for all themes: loginLogoUrl : { "default" : "path_to_my_company_image.png", "dracula" : null, "metal" : null } 2.)Different image for each theme: loginLogoUrl : { "default" : "path_to_my_company_image.png", "dracula" : "path_to_another_image.png", "metal" : "yet_another_path.png" } */ loginLogoUrl : { "default" : '/clix/images/clix_logo.png', "dracula" : null, "metal" : null, }, /* Change the image used for the Portal control bar. Same rules apply as loginLogoUrl above. */ portalLogoUrl : { "default" : '/clix/images/clix_logo.png', "dracula" : null, "metal" : null }, /* Change the image used for the Portal lock window. Same rules apply as loginLogoUrl above. */ lockLogoUrl : { "default" : '/clix/images/clix_logo.png', "dracula" : null, "metal" : null } },
Comment