Blog Sections Open
Using word-limit Safely with Ditto introtext Output
Limiting text for card and archive views looks simple until formatted introtext is involved. The original topic behind this post asked the same practical question many projects run into: how should word-limit be used wit
Limiting text for card and archive views looks simple until formatted introtext is involved. The original topic behind this post asked the same practical question many projects run into: how should word-limit be used with Ditto?
Main Risk
If truncation happens after HTML or placeholder formatting has already been mixed into the field, the resulting snippet can become messy or visually inconsistent.
Good Practice
- truncate plain text, not half-rendered markup
- keep summary generation in one consistent place
- test the result on both short and long introtext values
Whether you use PHx modifiers or another helper, summary output is much easier to trust when the source text is normalized first.
Fixing eForm onMailSent Callback Errors
How to debug eForm onMailSent hooks when the callback function looks correct but Evolution CMS still reports it as undefined.
Fixing eForm Email Headers That Arrive as Base64 Gibberish
How to think about encoded eForm headers when messages arrive with unreadable subject or field labels in some mailbox setups.