Hiya,
I'm creating a registration module. The "MyAccount" page obvoiusly needs to be set to be viewable by "Logged-in users" by default when installed.
Is there a way to do this in my requireDefaultRecords method? I'm building the default page like so:
$myAccount = new MyAccountPage();
$myAccount->Title = "My Account";
$myAccount->URLSegment = "my-account";
$myAccount->Status = "Published";
$myAccount->write();
$myAccount->publish("Stage", "Live");
Any ideas?
Aaron