0

I want to add a character limit on the display portion of expression engines channel field, not on the back end entry.

for example, If i have a field "Description" I want to be able to display a "preview" of it, at 50 characters, and then if clicked, or on another page, I want to show that same field, but with no character limit to display the full text.

2

there are loads of character limit/string manipulation plugins here https://devot-ee.com/search/results?keywords=character+limit&addon_version_support=ee2

| improve this answer | |
  • and Ellis Lab provides a first party plugin as well. github.com/EllisLab/Char-Limit/releases – Jim Wyse Sep 16 '15 at 11:41
  • TruncHTML gets my vote - especially the way it can handle truncating html without leaving orphaned html tags. – Peter Lewis Sep 16 '15 at 13:08
  • I was hoping there was something built in that I just missed in the documentation, but TrunchHTML will get the job done. Thanks! – Drew Major Sep 16 '15 at 17:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.