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

Cutting the Blog-Post after a paragraph, how to solve?


Go to End


2 Posts   1939 Views

Avatar
DanielZ

Community Member, 4 Posts

6 June 2009 at 7:03am

Hi community,

I've got a problem while posting new blog entries.
I'm using the blog extension to write news to my page and present some projects.
The extension is realy great, but if I post a new entry with paragraphs, the system cuts the post in the summary view after the first paragraph. That sucks....

Does anybody know, how to get the full post including the single paragraphs in the summaryview?

Thx a lot

Avatar
baba-papa

Community Member, 279 Posts

13 June 2009 at 11:14pm

Edited: 13/06/2009 11:16pm

Take a good look at the class Text.php. The method that troubles you is "FirstParagraph". Just choose another one.