Mike Walk1709153099 Posted April 21, 2016 Share Posted April 21, 2016 Anyone with ideas on how to add Featured Apps to the Category view ? Also how to increase the # of icons from 3 in the featured apps preview ? 1 Link to comment Share on other sites More sharing options...
Mike Walk1709153099 Posted April 25, 2016 Author Share Posted April 25, 2016 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 More sharing options...
Michael Bednarek Posted April 25, 2016 Share Posted April 25, 2016 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. 1 Link to comment Share on other sites More sharing options...
Mike Walk1709153099 Posted April 25, 2016 Author Share Posted April 25, 2016 Perfect Michael. Works like a charm. Link to comment Share on other sites More sharing options...
Neeraja Yalpala Posted November 30, 2020 Share Posted November 30, 2020 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now