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

Want the blog to show all the posting


Go to End


2 Posts   1909 Views

Avatar
GaryH2UK

Community Member, 4 Posts

16 August 2009 at 6:55pm

I'm a newbie to php and silverstripe trying to set up a village website. I want the front page to be mainly news stories. At the moment I want get the first paragraph and not the whole story. Is there any way of changing this?

Thankyou

Avatar
Bruce B

Community Member, 164 Posts

19 August 2009 at 6:50pm

Gary,
in blog->templates->includes you should find a file called BlogSummary.ss. This is presumably the file you are calling to get your front page listing. Find the line:
$ParagraphSummary
and replace it with
$ParsedContent

It would probably be a good idea to name this new version something like BlogFull.ss and then call it rather than BlogSummary.ss.

Hopefully that is enough to solve your problem.

cheers
bruce