[THIN] Re: Customizing Message Center in Web Interface 4.6

  • From: "Chad King" <caking76@xxxxxxxxx>
  • To: thin@xxxxxxxxxxxxx
  • Date: Fri, 11 Apr 2008 13:09:57 -0400

This is the solution that I came up with. It's not exactly what I wanted but
it works pretty well.

*Custom Message Center Errors *

*Purpose: To create a custom Hyperlink to the Corporate Passport Password
Management / Self Service Website, and modify the default error messages
that are displayed in Citrix Web Interface Message Center. *

*Files to be modified and what they do:*

*Common_Strings.Properties*
Location: C:\Program Files\Citrix\Web Interface\4.6.0\languages\
This file contains all of the default error messages that are presented in
the Citrix Web Interface Message Center.

*MessageCenter.inc*
Location: C:\Inetpub\wwwroot\Citrix\AccessPlatform\app_data\auth\include
This file Contains the location where you will add the custom hyperlink to
the Password Management / Passport Web site

*Loggedout.aspx*
Location: C:\Inetpub\wwwroot\Citrix\AccessPlatform\auth
This file will be used to redirect the Logged out web site to the Login.aspx
Page

*Error16.gif and Error24.gif*
Location: C:\Inetpub\wwwroot\Citrix\AccessPlatform\media
These will be blank GIF Files that replace the current Red X that appears in
Message Center after an error.

*Open Common_Strings.Properties File*

Modify the following line to reflect the following:

*AccountDisabled=*Your account has been disabled, Please try again, or
contact the Support Center to have your account re-enabled.
*AccountLockedOut=*Your account has been temporarily locked out, Please try
again or logon to Passport to unlock your account.
*InvalidCredentials=*The supplied EUID or Password is invalid. Please try
again or logon to Passport to reset your Password.
*GeneralCredentialsFailure=*The supplied credentials could not be validated.
Either they are incorrect, or there is a problem with the authentication
system. Try again, or contact the Support Center for help.

*Open MessageCenter.inc*

Modify the following Lines:
Modify Line 31 to reflect the following (If you remove img src this
modification causes an error so it needs to remain at the end.)

<A href="http://PasswordSite.com/PassPort/"; target="_blank">Click Here to
Logon to Passport</A><img src='../media/<%=msgIcon%>'

*Open LoggedOut.aspx*

Starting at Line 1 add the following lines:

<head>
<meta http-equiv="refresh"
content="0;url=
http://WebInterfaceServer/Citrix/AccessPlatform/auth/login.aspx";;>
</head>

*Open MS Paint or a similar Photo editor*

Create a blank file
Save as Error16.gif
Save as Error24.gif
Backup the original files and Copy both new files to:
C:\Inetpub\wwwroot\Citrix\AccessPlatform\media







On Mon, Apr 7, 2008 at 11:55 AM, Chad King <caking76@xxxxxxxxx> wrote:

> I'm trying to generate custom error messages with WI 4.6 in the Message
> Center.
>
> So far by editing the Common_Strings.Properties file I have been able to
> change the text for each message specifically I'm looking at the following:
>
> AccountDisabled=Your account has been disabled
> AccountLockedOut=Your account has been temporarily locked out.
> CredentialsExpired=The servers indicate that the user credentials entered
> have expired.
> InvalidCredentials=The supplied credentials were invalid. Please try again
> or contact your system administrator for help.
>
> I would like to not only change the text but add a hyperlink to our
> Passport server so that users can unlock there accounts, and change there
> passwords.
>
> Example:
>
> AccountLockedOut=Your account has been temporarily locked out. <A href="
> http://passwordsite.com"; target="_blank">Please Logon to Passport to
> Unlock your account.</A>
>
> This passes through the Web Interface in the message center as plain text
> instead of a hyperlink.  Anybody know of a way to make this work?
>
> ================
>
> One other thing I was able to make work which makes me wonder why this
> doesn't work is the default Message Center text.
>
> MessageCenter1=The Message Center displays any information or error
> messages that may occur. <A href="http://passwordsite.com";
> target="_blank">Please Logon to Passport to Unlock your account.</A>
>
> This works just fine so I'm thinking HTML should work for all the messages
> but it doesn't.
>
> I can send screen shots if anyone wants them.
>
> Thanks!
> Chad
>
>
>
>
>

Other related posts: