Message of the day:
Release 4.5.0 is out. Changelog: https://docs.silverstripe.org/en/4/changelogs/4.5.0
SilverStripe 4 related information and questions.
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
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.comHide attachment content
when did the docs get a facelift? feel like I looked at them earlier in the week and didn't notice the new styles
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?
Always gets me that one
> [Emergency] Uncaught InvalidArgumentException: SiteTree is not a subclass of DataObject
But that returns:
- $liveRecords = Versioned::get_by_stage('SiteTree', 'Live');
Any idea how to get a list of all published pages in the sitetree? I have this from SS3: