Message of the day:
SS4.3.1 security release is out - https://www.silverstripe.org/blog/high-severity-security-issue-cve-2019-5715/
SilverStripe 4 related information and questions.
To rephrase the question... where in my themes folder do I need to place the
http://Security_login.ss to make it work?
What is the propper namespace for the
http://Security_login.ss template? I tried to go through the slack archives to see if someone had mentioned it but I didn't find the actual namespace/file location
But yes, will use
Enum instead of
Varchar - good tip thanks
@Andreas Lindahl - I think I've narrowed the issue down to a publishing permissions issue involving the way my pages are nested. If I move the page out to the top level of the tree, it behaves as expected. So my orginal code was actually correct. Thanks!
And then do a dev/build, of course
I usually use enums instead of varchar for these things. Have you tried this? private static $db = [ "Status" => "Enum('1, 2')" ];
If nothing has changed, nothing will actually happen if you publish the page, and the LastEditDate will not change.
Viewing the URL with
?stage=Stage shows the correct info, so looks like there's an issue with publishing the page.
I've just noticed that altho I'm publishing the page and it's giving me a success message, when I open the menu next to the publish button it's saying 'Last Publish 18 hours ago'