Jump to content
Welcome to our new Citrix community!

Modify Receiver for Web site


Mike Walk1709153099

Recommended Posts

Just an FYI for anyone else who may wish to have this functionality.

 

·         Navigate to the C:\Inetpub\wwwroot\Citrix\Store_Name_Web\Custom directory

·         Make a backup of the script.js file and save it somewhere other than current location

·         Edit the scripts.js file with the parameters below. You will begin this syntax above the text of "/*End of example customization*/ "line

 

Complete Syntax to paste into script.js file

CTXS.ExtensionsHead.postRedraw = function() {

    if (CTXS.currentView == 'store' && $('.store-toolbar .selected').hasClass('folder-view')) {

        $('.applicationBundleContainer').show();

    }

};

 

Once edited, save the file and reload the receiver for web site.

Link to comment
Share on other sites

Hi Mike,

 

To increase the number of icons (part 2 of your post):

 

CTXS.Extensions.preProcessAppData = function(store, appData) {
    if (appData.bundles) {
        $.each(appData.bundles, function(i, bundle) {
            bundle.numAppsToShow = 5;
        });
    }
};

 

Change the number 5 above to whatever you want.

  • Like 1
Link to comment
Share on other sites

  • 4 years later...
On 4/25/2016 at 8:59 PM, Michael Bednarek said:

Hi Mike,

 

To increase the number of icons (part 2 of your post):

 

CTXS.Extensions.preProcessAppData = function(store, appData) {
    if (appData.bundles) {
        $.each(appData.bundles, function(i, bundle) {
            bundle.numAppsToShow = 5;
        });
    }
};

 

Change the number 5 above to whatever you want.

Hi Michael,

 

In which file i can find this code?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...