Jump to:

1842 Posts in 1600 Topics by 558 members

Blog Module

SilverStripe Forums » Blog Module » Want the blog to show all the posting

Discuss the Blog Module.

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

Page: 1
Go to End
Author Topic: 991 Views
  • GaryH2UK
    Avatar
    Community Member
    4 Posts

    Want the blog to show all the posting Link to this post

    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

  • Bruce B
    Avatar
    Community Member
    145 Posts

    Re: Want the blog to show all the posting Link to this post

    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

    991 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.