Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I go to the front page admin page this is what I see: https://img.skitch.com/20110804-kygy4yrqgwsda752ctscq3s765.png
The documentation says I'm supposed to go to a page called "Advanced Front Page Settings" which I don't have. I just have a menu item for "Front Page" and these are the settings. Nowhere to enter code, nowhere to configure who sees what ... I'm a bit confused.
Comments
Comment #1
timhilliard CreditAttribution: timhilliard commentedThat is the correct config page. Thanks for pointing out I need to update the documentation. To enable the redirect for certain roles you must first enable permission for that role. Go to permissions and enable the "access frontpage" permission for each of the roles you want to perform actions on for the front page.
Cheers,
Tim
Comment #2
gthing CreditAttribution: gthing commentedOkay - so I enabled the permissions and now see separate settings pages for anonymous and authenticated users. I set both to "redirect" and set the authenticated users to 'user-home' and anonymous users to 'splash' (both pages on my site).
So I don't think I am quite understanding this still. I don't need to enter code for the page - the pages I want to use for different roles already exist on my site. The redirect settings says it only works for users who are already logged in.
So I'm not sure how to configure it to:
If users are logged in show page A as homepage
If users are anonymous show page B as homepage
Any ideas?
Comment #3
mrtoner CreditAttribution: mrtoner commentedThe information at admin/settings/front is incorrect. 'redirect' (and the other options as well) will work for any user, anonymous or otherwise. Just be sure to "Activate your front_page settings" by entering "front_page" in the appropriate field.
Updating this issue to "Bug Report" to get the UI (perhaps also the docs?) changed.
Comment #4
Simon Georges CreditAttribution: Simon Georges commentedFixed in 7.x-2.x-dev.