This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Our old forums are still available as a read-only archive.
Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo
2 Posts 1368 Views
7 February 2008 at 2:54pm
Edited: 07/02/2008 2:56pm
Is there a way to set a default "behaviour" or "access" setting for a page type? For example, for "members-only" pages, if the CMS admin creates a new "members-only" page, the access is automatically set to "logged-in users" only.
Any ideas appreciated.
9 February 2008 at 11:36am
I know there's a defaults array you can set for every page type.
So maybe you could try something like:
static $defaults = array( "Viewers" => "Anyone" ); (Or "LoggedInUsers" or "OnlyTheseUsers")
but I'm not sure if that's what you're looking for.