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.
Date format is set based on the locale
otherwise setting the locale might change the date format site-wide? not sure
replacing placeholder text tends to be a lang file - en.yml or whatever, assuming the string is translatable
I love this placeholder 🙂 "Example: 10/31/2019" how to change date format – for whole SilverStripe project? 4.4.4 is now possible – still have problem with this – at at beginning 😉
Hi all, quick question. I've got a Form in a separate file, CreateAccountForm, but whenever I submit the form and an error occurs (e.g. the validation failed), the page redirects, but without any of the previously data filled in. Does anyone know how to fix this?
how can one add custom headers for files in assets directory?
which surprisingly isn’t mentioned/findable in the developer docs at all
it might be after custom code for onBeforeDelete and onBeforeWrite, might be before any custom code for onAfterWrite
Oh, was going to say as a random aside Michal, whether it's right or not, the dev docs show to add the parent call after our code: https://docs.silverstripe.org/en/4/developer_guides/model/extending_dataobjects/#onbeforewrite