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

Want the blog to show all the posting


Reply


2 Posts   1036 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, 147 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