I have a site where users must log in to access content. For the home page, I'd like these anonymous users to be able to view this content and the login box. Below are the ways I have done this in the past, but I'm looking for comments on how others may do this. Especially for ways that it could be done without touching templates or code.
- Modify page-front.tpl.php when a user is not logged in. This allows me to remove the "Access denied message"
- Create a block that is displayed on the home page for anonymous users. However, this still displays the "Access denied message"
- Implement Taxonomy access and have a term that allows anonymous access. This would eliminate the "Access denied message"
Are there other better methods to do this with as little code as possible? What is the best way?