Just wondering if anyone else has done anything similar and how you might achieve this. I need to have a client login option on a wedding photography website. Once a client logs in they will be taken directly to their own private photo gallery page. I've already set up a login area for a single user id and password for a single page on another website as follows:
public function IsCorrectMember(){
$member = Member::currentUser();
if($member->Email == 'video'){
return 1;
} else {
return 0;
}
}
...I'm just not sure how to extend this to match any number of users (to be added by the client via the admin security section) with their own page (also to be created up by the client)??