3060 Posts in 864 Topics by 646 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 270 Views |
-
Get published pages in SS3

12 October 2012 at 11:24pm Last edited: 13 October 2012 3:12am
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?
-
Re: Get published pages in SS3

13 November 2012 at 9:33pm
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::get()->filter($filter);
| 270 Views | ||
|
Page:
1
|
Go to Top |
