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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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   1412 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