Highlighted
Trusted Contributor.. Trusted Contributor..
Trusted Contributor..
8498 views

How to change the title string in the webclient's masthead

Jump to solution

Hello,

 

we are trying to change the title in the masthead of the webclient that reads "HP Service Manager" by default.

 

According to the HPSM documentation this should be possible:

 

"Out-of-box Service Manager displays a horizontal blue masthead that includes the HP logo and Service Manager
title at the top of the web client screen. This masthead can be changed to customize and brand Service
Manager to with your organization's logo, title, colors, and user name."

 

I tried editing lines 4 and 5 of the web.xml but it had no effect on the title:

  <display-name>HP Service Manager</display-name>
  <description>HP Service Manager</description>

 

Does anyone know where we can change the title?

 

Thank you!

Robert

0 Likes
1 Solution

Accepted Solutions
Highlighted
Trusted Contributor.. Trusted Contributor..
Trusted Contributor..

lo,

 

thanks for your responses. Alex' suggestion didnt help, this method allows you to change everything but the title string.

 

Last Friday I figured it out myself. It's pretty much the same as -m-'s solution but less "dirty" ;):

 

Instead of editing the content of the header, I edited the content of the variable App.Name

 

You have to open the file app_labels.properties located at

..\WEB-INF\classes\com\hp\ov\cwc\web

 

In line 5 you can change the string:

App.Name=HP Service Manager

 

Thanks for your help!

Robert

View solution in original post

0 Likes
3 Replies
Highlighted
Absent Member.
Absent Member.

Hello Robert,

 

The out-of-box Service Manager Web client includes a preset HP theme, and an HP masthead at the top. The theme and the masthead displayed can be modified to express your organization's own branding.

Out-of-box Service Manager uses a standard HP theme and cascading style sheet (CSS). You can customize and brand the web client by changing the out-of-box theme to use your own alternate theme.

To create a theme:

In the root directory for the Web tier, open the folder /cwc/js/extjs/theme.
Copy the entire hpovfolder and rename it to a new name (e.g., myTheme).
Open the folder of the new theme and locate the file named hpov.css.
Rename the file hpov.css to the same name as the folder (e.g., myTheme.css) It is very important that the CSS file name and the theme's directory name match.
Open web.xml and look for the "alternateTheme" env-entryparameter at the bottom of the file.
Replace "hpov" with the name of your alternative theme (e.g., myTheme).

Out-of-box Service Manager displays a horizontal blue masthead that includes the HP logo and Service Manager title at the top of the web client screen. This masthead can be changed to customize and brand Service Manager to with your organization's logo, title, colors, and user name.

To modify the masthead:

Open the CSS file for your custom theme.
Locate the following CSS rules that apply to the Masthead element (names are self-explanatory):
masthead
masthead-cnt
masthead-title
masthead-user-name
masthead-logo
Modify the content of the CSS rules to change the masthead height, the logo, the background, and the font.
Be sure to clear your browser's cache in order to see your changes.

You can tailor the masthead but not the login page.

If you find this post useful/helpful click the Kudo star on this post!

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
0 Likes
Highlighted
Absent Member.
Absent Member.

Here is the "dirty" solution if the supported method does not work:

 

Open the cwc_fwHeader.jspf file in <deployed WAR file>\cwc\fw

 

Locate the following line:

<a id="cwc_masthead_title_link" title="<%=appLabels.getString("App.Name")%>:<%=appLabels.getString("App.Version")%>(<%=appLabels.getString("App.BuildNumber")%>)"><%=appLabels.getString("App.Name")%></a>

 

Modify the portion between the open and close <a> tags:

<a id="cwc_masthead_title_link" title="<%=appLabels.getString("App.Name")%>:<%=appLabels.getString("App.Version")%>(<%=appLabels.getString("App.BuildNumber")%>)">HP SM Masthead</a>

0 Likes
Highlighted
Trusted Contributor.. Trusted Contributor..
Trusted Contributor..

lo,

 

thanks for your responses. Alex' suggestion didnt help, this method allows you to change everything but the title string.

 

Last Friday I figured it out myself. It's pretty much the same as -m-'s solution but less "dirty" ;):

 

Instead of editing the content of the header, I edited the content of the variable App.Name

 

You have to open the file app_labels.properties located at

..\WEB-INF\classes\com\hp\ov\cwc\web

 

In line 5 you can change the string:

App.Name=HP Service Manager

 

Thanks for your help!

Robert

View solution in original post

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.