This customization is pretty easy. Add the following to your custom.js file:
1 2 3 4 5 |
CTXS.ExtensionAPI.addHelpButton( function onClick() { CTXS.ExtensionAPI.openUrl("http://www.google.ca"); } ); |
Replace “http://www.google.ca” with the URL you want your help screen to be.
where is the location for custom.js file in storefront 3.13 on xendesktop 7.16?
YourStoreWeb\Custom\script.js
Pingback: Detailed Change Log – Carl Stalhood
Trentent, do you any idea how to add the Active Directory user picture ? That would be a nice addition to StoreFront. Cheers,
Oooo that could be slick. You would need a web helper to query and pull down the image from AD, and then just a little javascript in custom.js to pull it all together.
Pingback: StoreFront 3.5 through 3.13 – Tweaks – Carl Stalhood
Hi there. I’m trying to figure out how to add GDPR compliance to SF by adding a weblink that users can navigate to (if they click the appropriate link). here is the code so far, but the problem is the URL is opened whether or not the user clicks anything. In fact, the cancel button doesn’t even load.
CTXS.Extensions.beforeLogon = function (callback) {
doneClickThrough = true;
CTXS.ExtensionAPI.showMessage({
localize: true,
messageTitle: “Privacy Notice”,
messageText: “GDPR notification,
okButtonText: “Accept and Continue”,
cancelButtonText: “View GDPR Privacy Info”,
cancelAction: CTXS.ExtensionAPI.openUrl(“https://gdprurlxxxxxx.com”),
okAction: callback,
});
};
Now, if I simply add “callback” into the cancelbuttontext the page loads with the cancel button, but the callback feature just pushes them on to the logon page.