Community
 
 
 

CloudPortal Business Manager 1.x

342 followers
 
Avatar
Pankaj Paliwal

How do I customize the HTML title and tag line of CPBM to match my own brand/content?

Avatar

How do I customize the HTML title and tag line of CPBM to match my own brand/content?

I need help understanding the procedure for customizing the CPBM UI. Specifically, I am interested in the HTML title and tagl line?


Rikard Kjellberg CITRIX EMPLOYEES
5 comments
0

Please sign in to leave a comment.

 
 

Previous 5 comments

Avatar
Pankaj Paliwal
Avatar

How do I customize the HTML title and tag line of CPBM to match my own brand/content?

You can change these two properties in the ApplicationResources*.properties file to customized the title and tag line
webapp.tagline
company.name


Wan-Har Liang CITRIX EMPLOYEES
Comment actions Permalink
Avatar
Pankaj Paliwal
Avatar

Hi Rikard,

HTML title consists of two properties , company.name and webapp.tagline. And it is displayed as "<company.name> - <webapp.tagline>" in the title of the page.

To customize the title you have to override these properties in the "CustomApplicationResources*.properties" files.

"CustomApplicationResources*.properties" is the file which overrides all the properties available in "ApplicationResources*.properties". So, if you want to override any specific property then you can add it into the "CustomApplicationResources*.properties" file with custom value.

Thanks,
Manish


Manish Agarwal CITRIX EMPLOYEES
Comment actions Permalink
Avatar
Pankaj Paliwal
Avatar

Where are these files located? I cant locate any file named CustomApplicationResources:

[root@cscp02 ~]# find / | grep CustomApplicationResources
[root@cscp02 ~]#


Michael Trewartha MEMBERS
Comment actions Permalink
Avatar
Pankaj Paliwal
Avatar

Hi,
Ideally CustomApplicationResources.properties file does not exists in the core product. However to support customization and user defined properties, the core product expose this functionality by means of a file that is *CustomApplicationResources.properties*.

So you have to create your custom property file with the filename as CustomApplicationResources.properties and put all the necessary properties that you want to override or add any new property if there are any.

Once this property file is ready please copy this file to "*/usr/share/cloud/portal/webapps/portal/WEB-INF/classes*" directory of your Cloud Portal Installed machine.

Please restart the Cloud Portal service once custom file is copied using the below syntax.
service cloud-portal restart.

Cloud Portal shall now pick the custom property file.

Shiv


Shiv Prasad Khillar CITRIX EMPLOYEES
Comment actions Permalink
Avatar
Pankaj Paliwal
Avatar

Thanks Shiv, and others. Just to make this clear for others, I have made the following file and populated it with:

[root@cscp02 ~]# cat /usr/share/cloud/portal/webapps/portal/WEB-INF/classes/CustomApplicationResources.properties
company.name=<<Company Name>>
webapp.tagline=<<Tag Line>>

After restarting cloud portal I noticed that the start up process was much slower, as cloudportal was looking for other customised settings, however after a couple of minutes everything was running well and I had a new HTML page title.


Michael Trewartha MEMBERS
Comment actions Permalink

Top Contributors