Customizations allow Citrix customers to make web pages reflect company logos, color schemes, marketing styles, and sometimes, even security banners. However, customizations require in-depth knowledge of the structure and coding behind each web site.
Some customers require that all levels of authentication (all logon pages) display security banners which outline the rights to privacy (or lack thereof) when accessing their sites. In this case, a simple change to the web page code results in the addition of text – a security banner – near the authentication fields which is visible each time a user logs onto the site.
Some customizations are heavily documented – check out blogs like this one by Feng Huang – however, the addition of a security banner, or floating text, was not expressly discussed.
This article contains information about the customization of the logon page of StoreFront, Director, and Citrix License Server web pages. Note that this is a basic banner configuration and changes to the specific size, font, and color can be made to fit custom requirements.
After working with members of the CCS team who have implemented various customizations in the past, we have consolidated our findings into a single reference point. I would like to give a special thank you to Wonmin Lee, William Elvington, Steven Krueger, Dan Morgan, Felipe Bernal, and Kelsey Kempler for their help in the creation of this blog.
Customizing the Logon Page for StoreFront Servers
This section explains how to customize the banner on Citrix StoreFront 2.x servers. The following configurations within the contrib folder will propagate the changes to all StoreFront servers.
- On a StoreFront server, navigate to C:/inetpub/wwwroot/Citrix/<StoreName>Web/contrib.
- Locate and create a copy of the custom.script file in the same location as backup – in the case that the changes need to be reverted, the copy can be used to replace the custom.script file to return to the original code.
custom.script – Copy.js
- Open the custom.script file in Notepad (as Administrator).
- Enter the following text as shown and click Save:
*Note that if copying and pasting code directly from this blog, the single and double quote symbols may not paste correctly and may require manually erasing and re-typing those symbols in Notepad. This applies to all code snippets throughout this blog.