Pleasingly, it’s now actually slightly easier to achieve (and will appear on all pages, not just the Home Page).
Open up App Package PT_BRANDING, the Class BrandingBase and search for the string ‘add &addjs’. Immediately preceding that line, add the following line of code:
&greeting = "User: " | %UserId | " on Database: " | %DbName;
(Plus some comments identifying the customisation etc.)
This will do the trick, but the end result looks a bit big and blocky. It’s a piece of cake to alter the greeting style to achieve a much better looking result.
Open the PSHOMEPAGE Freeform Style Sheet, locate the greeting style class and replace it with this:
.greeting {
color: #FFFFFF;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
margin: 0 0 0 70px;
line-height: 24pt;
}
The end result will look something like this (I’ve also added bold tags around the UserID and Database for clarity):
good one
ReplyDelete