The following customization leverages the Citrix customization framework which integrated with StoreFront unified experience, is less prone to issues on StoreFront upgrades, and is replicated through change propagation at the StoreFront Server Group level.
Add a Disclaimer Message to StoreFront
A disclaimer message can be added prior to the login screen. This could be used for adding news. disclaimer messages, warnings etc. To add a disclaimer message, edit the “strings.en.js” file in the custom folder of the Web Store. By default, this will be located at “C:inetpubwwwrootCitrix<StoreWeb>customscript.js”.
In this example we will be adding a disclaimer message that links to our terms of service. Edit script.js and add the following code:
CTXS.Extensions.beforeLogon = function (callback) { doneClickThrough = true; CTXS.ExtensionAPI.showMessage({ messageTitle: "Welcome", messageText: "By clicking accept, you agree to out terms of service. <br /> <a href='http://insertlinkhere.com/'>Click Here</a> for our terms of service.", okButtonText: "Accept", okAction: callback }); };
-
Reubin Huckle
Reubin is a seasoned consultant specializing in Microsoft, VMware, Public Cloud, and Citrix infrastructure platforms, with a focus on digital workspace technologies and interests in scripting and web coding.