Insert 'Welcome' page between login form & root album

tay23

Joined: 2011-02-23
Posts: 1
Posted: Wed, 2011-02-23 12:17

Hi.

My Gallery site is locked down so that users can only access it by logging in with a username and password and I've been trying to think of a way to insert a welcome page that appears after a successful login and before the user arrives at the root album. (The user would continue to the root album after clicking on a "click here to continue" button.)

So far, I have come up with a couple of different ideas about how to accomplish this, but they both have drawbacks:

1. Add a javascript popup message that appears after the login.
My concern with this approach is that, depending on the popup-blocking settings in the browser, some users may not get to see the message. If this worry is unfounded, can someone please advise me as to where in the code I need to insert the javascript routine? (I've looked though the code in auth.php & login_ajax.html.php, but I'm a little confused as to how it all works, as my php and javascript skills are fairly basic)

2. Use a 'dummy' root album page with a logo or other image as the album thumbnail and the welcome message as the title/description underneath.
Using CSS specific to the root page, I can format this to make it look different to the sub-albums underneath without any problems. However, my main concern with this approach is that the 'Home' menu option and the first part of the breadcrumb trail will return the user to this dummy root page instead of to the sub-albums below. This is undesirable, as I would like the user to only see this welcome message once, directly after logging in.

I've also searched through the forums and modules to see if anyone else has asked a similar question or provided a workable solution, but have drawn a blank so far. Can anyone please help me to overcome the problems with either of these 2 approaches, or possibly suggest a better way of providing this functionality?

Thanks in advance,
Mathew