Answers.Body: <p>Have you tried the login_toboggan drupal module? Not sure if it works with Civi profiles but it might. It provides the option to add a login form on all "access denied" screens.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-17T02:46:43.583Z
Answers.LastActivityDate: 2015-10-17T02:46:43.583Z
Answers.UserDisplayName: Coleman
Body: <p>On our Drupal 7.38 and CiviCRM 4.6.8 site, the "profile listings and forms" permission is set to authenticated users and above.</p>
  
  <p>Accordingly, anonymous users receive the standard warning when trying to view a profile:</p>
  
  <pre><code>Sorry but we are not able to provide this at the moment.
  The requested Profile (gid=20) is disabled OR … etc.
  </code></pre>
  
  <p>How do we redirect anonymous users to a login screen rather than receive this warning?</p>
  
Tags: <profile>
Title: Redirect anonymous users to login when trying to view profile
ThreadText: # Redirect anonymous users to login when trying to view profile
  
  (Asked by: username_0 on 2015-09-11)
  
  On our Drupal 7.38 and CiviCRM 4.6.8 site, the "profile listings and forms" permission is set to authenticated users and above.
  Accordingly, anonymous users receive the standard warning when trying to view a profile:
  Sorry but we are not able to provide this at the moment.
  The requested Profile (gid=20) is disabled OR … etc.
  
  How do we redirect anonymous users to a login screen rather than receive this warning?
  
  **Tags:** profile
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-10-17. Score: 2
  
  Have you tried the login\_toboggan drupal module? Not sure if it works with Civi profiles but it might. It provides the option to add a login form on all "access denied" screens.
  
  
  ---
  
  