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.

Blog Module /

Discuss the Blog Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

$ParagraphSummary


Reply


2 Posts   3736 Views

Avatar
animasola

Community Member, 121 Posts

19 June 2009 at 5:06pm

Where can I find this and edit it?

I want to increase the length or how much it will display. Currently, my blog holder has a problem displaying the text once an image is placed. If there is an image, the summary will only show the image. I want to make the summary bigger to display not only an image, but as well as some few text.

Any piece of advice would be highly appreciated, thanks! :)

Avatar
Ben Gribaudo

Community Member, 181 Posts

19 June 2009 at 11:57pm

Hello,

Are you looking for the method ParagraphSummary() that's in blog/code/BlogEntry.php?

There's also:
http://api.silverstripe.org/sapphire/model/Text.html#methodSummary

Hope this helps,
Ben