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

Sidebar content


Go to End


2 Posts   1238 Views

Avatar
sherman

Community Member, 48 Posts

18 July 2008 at 11:59am

Is it possible to draw in a summary of text from a Page in the sidebar?
For example if I have a page called Campaigns, can I draw a portion of content from that page in the sidebar?

I have so many questions :)

Avatar
Willr

Forum Moderator, 5523 Posts

18 July 2008 at 2:03pm

its easy if you want to get say the first paragraph you could have $Content.FirstParagraph or the first x amount of characters. If you want a certain string then your best bet is to create a custom field in the CMS and get them to fill it in.