1770 Posts in 495 Topics by 531 members
Blog Module
SilverStripe Forums » Blog Module » Blogholder doen't show firstparagraph
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 1294 Views |
-
Blogholder doen't show firstparagraph

30 December 2008 at 3:36am
I only want to see the blogentry's first paragraph in the blogholder. At the moment he shows the wole blog. Where do i have to put $content.firstparagraph or something like that?
Thanks!
(sorry for my bad englisch, i'm dutch.)
-
Re: Blogholder doen't show firstparagraph

3 January 2009 at 5:05am
BlogHolder.ss includes BlogSummary.ss, which is where you'd place your $Content.FirstParagraph
By default, it uses the ParagraphSummary method of BlogEntry, which relies on the BBCode parser. If you're using HTML instead of BBCode (as I am), $Content.FirstParagraph is more appropriate.
| 1294 Views | ||
|
Page:
1
|
Go to Top |
