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.

Template Questions

Restricting News entry Summaries


Reply

370 Views

Avatar
Kathy19

15 January 2013 at 8:55am Community Member, 1 Post

Hi!
I'm new to silverstripe and was wondering if you could help me - I need to know what to put in my HomePage.php file to restrict the number of news entry summaries displayed.

this is what I have in the HomePage.SS
:
<% control ChildrenOf(news) %>

<% include ArticleTeaser %>

<% end_control %

Thank you so much - I tried looking at the tutorial, but got stuck at this step.