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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Getting less than first paragraph


Go to End


2 Posts   2949 Views

Avatar
jerome187

Community Member, 5 Posts

28 December 2007 at 2:03pm

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.

Avatar
vcmusic42

Community Member, 22 Posts

28 December 2007 at 6:55pm

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