Posted by lukeLT on December 5, 2012 at 11:15pm
It's my first day using Drupal, so forgive me.
The site I'm working on will be accessible only to registered users. I found the way to block the access to all pages by disabling the access to published contents in People->Permissions.
That said, I still need one front page visible by all when not logged in, paging saying that you need to register first, instead of "Access denied - You are not authorized to access this page." How can I do that?
I created a home page and set it as the default front page in config->system->default front page (promoting it to the home page or not does not help).
What's the trick?
Thanks all!
Comments
=-=
you can use a custom page--front.tpl.php in your theme made from a copy of page.tpl.php.
remove the $content variable, hard code your content, clear cache and test
may also look into a module like content access which provides more granular control over permissions. There is also a module by the name front which may aid.