Novell is now a part of Micro Focus

Displaying First Name Only in eGuide

Novell Cool Solutions: Tip
By Andrey Karyagin

Digg This - Slashdot This

Posted: 10 Jan 2007


A Forum reader recently asked:

"When logging in eGuide, in the above header, I see "Welcome : FIRSTNAME Initials LASTNAME" ... I want to get rid of the 'Initials', but I can't find where to do this."

And here's the response from Andrey Karyagin ...


To display FIRSTNAME only you should implement the following steps:

1. Locate the eguideheader.xsl file. On the Win32 platform this will be:
C:\Program Files\Novell\Tomcat\webapps\eGuide\WEB-INF\templates\xsl\default\browser

On a NetWare 6.5 server this will be:

2. Look for the "<!-- WELCOME MESSAGE -->" block within this file.

3. In this block, replace

<xsl:value-of select="UserID/value/display"/>


<xsl:value-of select="substring-before( 
'), '
' )"/>

4. Restart both Apache and Tomcat to see the difference.

5. Implement your own XSL transform to display LASTNAME only, or both FIRSTNAME and LASTNAME without Initials.

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions.

© Copyright Micro Focus or one of its affiliates