Jump to:

1851 Posts in 1606 Topics by 561 members

Blog Module

SilverStripe Forums » Blog Module » Cutting the Blog-Post after a paragraph, how to solve?

Discuss the Blog Module.

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

Page: 1
Go to End
Author Topic: 1031 Views
  • DanielZ
    Avatar
    Community Member
    4 Posts

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

    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

  • baba-papa
    Avatar
    Community Member
    279 Posts

    Re: Cutting the Blog-Post after a paragraph, how to solve? Link to this post

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

    1031 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.