Maybe this will help someone.

I went into the modules/login_destination/login_destination.module and changed the following function to go to where I want authenticated users to go. Its the path variable that gets customized:

function login_destination_get_destination() {
// customize the path as desired.
$path = 'front_page';
return url($_GET['q'], "destination=$path");
}

So, this now goes through the front_page module and goes to the page that front_page redirects to. In the site where I did this it happens to be a book page that is the master page for all the proprietary content for the site. Visitors re-direct to a welcome page instead.

I did this because users went nowhere when they logged in. They then had to click on the logo or home icons to go through the front_page module to where they were supposed to be.

Perhaps the front_page author could incorporate the tip?

-gbs

Comments

calebgilbert’s picture

...if you posted it as an "issue" on the front page project itself rather than to the forums.

=====
Bloggyland.com - Custom install w/ 25 xtra modules, hosting, and support - online demo

trailerparkopera’s picture

Save me some time.