Earlier today, a friend asked me how to change the browser/window title in WebSphere Portal 6.1.
Now I remember doing this back in the day with Lotus Workplace Services Express, but it's been a while since I looked at it.
Then I remembered that the Theme Customizer has an option to set this.
Digging into the documentation: -
Lotus Web Content Management 6.1.0 > Designing a portal site > Layout of the portal page
I came across the Theme Policies section, which describes how the attribute, bannerTitleText, can be set within the Theme Policy.
This is then reflected in a theme file, head_title.jspf, which is located here: -
/opt/IBM/WebSphere/wp_profile/installedApps/DefaultNode/wps.ear/wps.war/themes/html/Portal
and makes reference to this attribute from the policy.
Whilst one could just as easily hack the .JSPF file, it's more sensible to change the policy, as this can then be over-ridden, perhaps by a non-developer-user, at a future date.
Therefore, the easiest mechanism is to use the Theme Customizer to set the attribute, and then apply the policy, alongside the chosen theme, to the page hierarchy e.g. Home.
Job done :-)
Geeking in technology since 1985, with IBM Development, focused upon Docker and Kubernetes on the IBM Z LinuxONE platform In the words of Dr Cathy Ryan, "If you don't write it down, it never happened". To paraphrase one of my clients, "Every day is a school day". I do, I learn, I share. The postings on this site are my own and don’t necessarily represent IBM’s positions, strategies or opinions. Remember, YMMV
Subscribe to:
Post Comments (Atom)
TIL - read-only variables in Linux
A co-worker was seeing an exception: - line 8: TMOUT: readonly variable when trying to SCP a file from a remote Linux box. I did some digg...
-
After an unscheduled reboot of the VMs that host my K8s cluster, I was struggling to work out why the kubelet wasn't starting properly...
-
I hit a wee snag earlier today, whilst attempting to unpack some IBM software on my NAS. Being a command-line junkie, I'd SSH'd into...
-
I've just spent ~1 hour trying to get a pair of Powerline adapters to .... pair. This involved pressing a "Pair" button on one...
No comments:
Post a Comment