Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Getting less than first paragraph

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 2075 Views
  • jerome187
    Avatar
    Community Member
    5 Posts

    Getting less than first paragraph Link to this post

    You know in the tutorials, when you add current news to the homepage and you display the first paragraph? How do you display <i>less</i> that that? Like the first sentance, or first 10 words or something.

  • vcmusic42
    Avatar
    Community Member
    22 Posts

    Re: Getting less than first paragraph Link to this post

    I was able to display the first sentence using: $Content.FirstSentence.

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