Jump to:

3461 Posts in 1065 Topics by 740 members

Data Model Questions

SilverStripe Forums » Data Model Questions » Get published pages in SS3

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

Page: 1
Go to End
Author Topic: 719 Views
  • MitraX
    Community Member
    20 Posts

    Get published pages in SS3 Link to this post

    There is no more column Status in the SiteTree table in SS3.

    Is there any standard way to get published pages only, e.g. PageClass::get()->filter("Status"=>"Published") or anything similar?

  • figjam
    Community Member
    10 Posts

    Re: Get published pages in SS3 Link to this post

    I don't think you need to worry about this. Because it seems that in SS3


    will only return published pages. Try this yourself by simply un-publishing a page in a filter...

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.