Jump to content
Welcome to our new Citrix community!

Problem with display of long names


Recommended Posts

 

 

Hello everyone,

 

We're having a problem with the display of applications that have long names on the StoreFront page. The behavior seems to affect all versions of StoreFront.

In short a long name appears troncated.

We have tried making changes to the CSS to no avail.

 

 

The issue seems to been raised several times on Citrix' forum, but has never gotten any answers:

http://discussions.citrix.com/topic/352632-storefront-long-application-names/

http://discussions.citrix.com/topic/377832-long-delivery-group-display-name-and/

http://discussions.citrix.com/topic/354687-how-many-character-limit-about-default-published-application-name/

http://discussions.citrix.com/topic/357790-application-name-length/

 

Can anyone help?

Thank you,

Antoine

Link to comment
Share on other sites

  • 3 weeks later...
  • 9 months later...
  • 7 months later...

You can overwrite the function by adding this to custom/script.js

 

(function(c) {
    var e = 0;
    window.CTXS = c.extend(window.CTXS || {}, {
        truncateToFit: function(a, b, d, e, l) {
            return b
        }
    })
})(jQuery);

 

So you can keep all your customizations at one place.

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

you can also edit in the custom.script.js file under c:\inetpub\wwwroot\citrix\storeweb\contrib

 

Below script will fix the issue,  Tested with Storefront 2.6 and 3.12 also, working fine. 

 

(function($) {

$(document).ready(function(e) {

window.CTXS = $.extend(window.CTXS || {}, {

truncateToFit:function(a,b,c,d) {

return a;

}

});

});

}) (jQuery);

Link to comment
Share on other sites

  • 3 years later...
On 7/21/2017 at 6:58 AM, Tomas Karnold said:

a quick and dirty workaround:  inetpub\wwwroot\Citrix\Storeweb\receiver\js\ctxs.webui.min_something.js

 

find the "truncateToFit:" function and comment it's content after the first line and before the last line (return) - then no truncation at all 

Lost your image somehow, but wanted to ask if you've seen this done on 1912 versions of Storefront? I can't seem to force the long name.

Link to comment
Share on other sites

  • 10 months later...

Yeah, this problem has been proven to be even a bigger issue with 1912.  which is odd.  the icons are much larger than they were in 7.15 version but there is less space for the title.  hope to find a solution soon before we go live.  We have a lot of similar icons to go different places, if the user can't read what it says,  it is a guessing game.

Link to comment
Share on other sites

  • 5 months later...
On 2/26/2018 at 12:35 PM, Kai Brandt said:

You can overwrite the function by adding this to custom/script.js

 

(function(c) {
    var e = 0;
    window.CTXS = c.extend(window.CTXS || {}, {
        truncateToFit: function(a, b, d, e, l) {
            return b
        }
    })
})(jQuery);

 

So you can keep all your customizations at one place.


This worked for Storefront 19.12 LTSR CU5. Thanks! 

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...