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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Blog Module /

Discuss the Blog Module.

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

$ParagraphSummary


Go to End


2 Posts   5011 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