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.
I use a custom front page so my content assignments don't get overwritten on updates. The form alters for login and registration have hardcoded the path to home. Could that be changed to use:
variable_get('site_frontpage', 'home');
Comment | File | Size | Author |
---|---|---|---|
#3 | use_site_homepage_variable.patch | 458 bytes | RobKoberg |
#1 | use_site_homepage_variable.patch | 459 bytes | RobKoberg |
Comments
Comment #1
RobKoberg CreditAttribution: RobKoberg commentedPatch attached
Comment #2
ezra-g CreditAttribution: ezra-g commentedThanks! Looks good except for the double semicolons :).
Comment #3
RobKoberg CreditAttribution: RobKoberg commentedwhoops. here you go
Comment #4
ezra-g CreditAttribution: ezra-g commentedSetting back to "needs review."
Comment #5
Devin Carlson CreditAttribution: Devin Carlson commentedTested #3 with an existing install. With the patch, after login or registration, users were properly redirected to the site homepage after the front page was configured to point to a different node.
Comment #6
Devin Carlson CreditAttribution: Devin Carlson commentedCommitted #3 to Commons Site Homepage 7.x-3.x.
http://drupalcode.org/project/commons_site_homepage.git/commit/c5fbb20
Comment #7
RobKoberg CreditAttribution: RobKoberg commentedIs there any where to see all the sub projects git logs merged? Or do know any tricks to be able see them all?
Comment #8
ezra-g CreditAttribution: ezra-g commentedFollowing the release of 3.3, we're likely to focus on #1983606: Move some of the Commons_* modules into the Commons distro repo which will make it easy to see the revisions for most or all of the Commons* projects in a single repository.