jkersu

@muskie9 Pretty recent 🙂 https://silverstripe-users.slack.com/archives/C36U3BDHN/p1573701059318600

Show 2 attachment(s)
Aaron Carlino

Hello, community! We're going to be going live with a new docs site in the next couple days. Would love your feedback. https://ss-docs.netlify.com

Aaron Carlino

Hello, community! We're going to be going live with a new docs site in the next couple days. Would love your feedback. https://ss-docs.netlify.com

Hide attachment content
muskie9

when did the docs get a facelift? feel like I looked at them earlier in the week and didn't notice the new styles

Aaron Cooper

Another question on Fluent. Just a setup one:

Got two locales. en_NZ and es_MX. en_NZ is the default. Do people normally add the main domain of the site to the domains section, then add it as the domain for their default locale?

We don't really want http://domain.co.nz/en_NZ/home for the default locale visiting for the first time, but we do want http://domain.co.nz/es_MX/home if someone switches to Spanish. So am I right is saying we add http://domain.co.nz as the domain for en_NZ and leave the domain for es_MX empty?

dorsetdigital

Try Versioned::get_by_stage(SiteTree::class, 'Live');

Aaron Cooper

> [Emergency] Uncaught InvalidArgumentException: SiteTree is not a subclass of DataObject

Aaron Cooper
  1. $liveRecords = Versioned::get_by_stage('SiteTree', 'Live');
Aaron Cooper

Any idea how to get a list of all published pages in the sitetree? I have this from SS3: