noesac Posted April 19, 2011 Share Posted April 19, 2011 If the customer's name is "Sam Jones", it should be displayed as "Sam J..."However it is currently displaying "Sam ..."Based on the code below, I don't know why this isn't working: {$comment.firstname|escape:'html':'UTF-8'} {$comment.lastname|truncate:1:'...'|escape:'htmlall':'UTF-8'}. Truncate is set to 1, so I'm a bit confused. Any ideas? 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