This recipe details the steps involved in toggling block visibility based on which type of user is viewing the page. For example, a block displaying advertisements might only need to be visible for anonymous users and not for authenticated users.
For this recipe, we will be configuring the welcome message block which we created in an earlier recipe in this chapter, to only be visible to authenticated users.
Controlling block visibility is handled from the block administration pages as outlined in the following:
admin/build/block(Home | Administer | Site building | Blocks).
Welcome messageblock—and click on the ...