This project is read-only.

Content presentation based on authentication

Topics: General
Aug 8, 2014 at 10:02 AM
I guess this is a typical beginner question. But I'm interested in your answers. The docs I have read until now do not explain it or I didn't see it.
I wold like to present content based on the users authentication. Take a contact information page for instance. I would like to hide certain information to annonymous site visitors. To authenticated users on the other hand I would present more detailed and more diverse content like map, email, postal address etc.
The page name and navigation entry should remain the same (e.g. "~/contact")
I know there is the Content Permissions part. But how would I put the pieces together the best way?

Thanks and regards
Aug 8, 2014 at 7:02 PM
One way to set that up is by adding your contact information as a widget to the Authenticated widget rules layer. Widgets added to that layer are only rendered for authenticated requests.