Login | Forgot password | Register

X

What is OpenID?

OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.

With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.

For more information visit the official OpenID site.

Jump to:

1155 Posts in 324 Topics by 274 members

Data Model Questions

SilverStripe Forums » Data Model Questions » Limit Results From DataFeed Without Custom Query?

Page: 1
Go to End
Author Topic: Limit Results From DataFeed Without Custom Query? 213 Views
  • LeeUmm
    avatar
    Community Member
    372 posts

    Limit Results From DataFeed Without Custom Query? Link to this post

    Just curious if there was something built in by default to limit the result set of say <% control ChildrenOf(page-url) %>?

    I know I could write a dataobject::get() in my controller to limit the results, but is there anything built in by default I could just put in my template?

    I do stuff like this a lot and would save time/code.

    i.e show last 5 articles in a section.

    I thought I saw somebody mention something like <% range(0,5) %> a long time ago, but can't find anything through search.

    213 Views
Page: 1
Go to Top

Currently Online: There is nobody online.

Welcome to our latest member: Newclear

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.