Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Community site "User Views" webpart customize users name View modes: 
User avatar
Member
Member
berneanuvicentiu-gmail - 11/9/2010 5:32:33 AM
   
Community site "User Views" webpart customize users name
Hi,

In the "Users Viewer" webpart I want to cut out the names of the users to a certain number of chars. How can I do that?

Thank you

Best Regards,
Vicent

User avatar
Member
Member
Armysniper89 - 11/10/2010 2:10:37 AM
   
RE:Community site "User Views" webpart customize users name
I would recommend cloning the webpart and creating a customized version. Also look for this data being part of the layout of the webpart, then you can customize the layout with a custom layout. Typically my experience is that you want to create a custom clone and change the UI in code.

User avatar
Member
Member
berneanuvicentiu-gmail - 11/10/2010 7:44:05 AM
   
RE:Community site "User Views" webpart customize users name
The solution:

ou can modify that transformation in Site Manager -> Development -> Document types -> Edit Community - Transformations -> Transformations tab -> Edit Members list.

For this you can use LimitLength function used in your transformation (it is Community.Transformations.MembersList by default).

<%# LimitLength(Eval("UserName"), 6 , "...") %>

From Kentico Support