Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Any suggestions for how to duplicate the functionality of BlogEntry->ParagraphSummary() in Blog0.6/SS3?
I use it to show the first paragraph of the latest blog entries on the site front page. At the moment I just have $ParagraphSummary in the template (within a BlogEntry loop).
A number of other text operations (perhaps try FirstParagraph or ContextSummary) http://api.silverstripe.org/3.0/framework/model/Text.html
Thanks for that tip. I replaced
<% with Content %>
<% end_with %>
That has the added benefit that authors can now include html in their initial text.