Page 1 of 1

Private gallery - possible???

Posted: Mon Nov 12, 2007 8:15 pm
by louisk
Case:
I am making a website as I am a wedding photographer. When I take pictures for a client, I then make a physical album. But before printing the ablum I would like to show a preview of the work to my clients in  private gallery.

So, a client loggs in and gets redirected to a private gallery page with only their pictures. Every client has to be redirected to their own gallery page after login.

Can this be done? What would be the right way to go about this?

Re: Private gallery - possible???

Posted: Mon Nov 12, 2007 9:29 pm
by alby
louisk wrote: Case:
I am making a website as I am a wedding photographer. When I take pictures for a client, I then make a physical album. But before printing the ablum I would like to show a preview of the work to my clients in  private gallery.

So, a client loggs in and gets redirected to a private gallery page with only their pictures. Every client has to be redirected to their own gallery page after login.

Can this be done? What would be the right way to go about this?
Maybe with FEU module (check sintax name):

- In FEU insert a login name with client name
- In FEU Properties insert $username in Page redirect after login
- Prepare a page with Album module
- Insert album of your client
- In Alias name, insert client name (same of login name)

Alby

Re: Private gallery - possible???

Posted: Tue Nov 13, 2007 9:27 am
by louisk
Thank you for you suggestion!

Does that mean i would have to prepare a page for every client, and add the redirect code for every client?

What i would need then is: if client A > gallery A; if client B gallery B; etc. els error page.... right?

Re: Private gallery - possible???

Posted: Tue Nov 13, 2007 9:43 am
by alby
louisk wrote: Does that mean i would have to prepare a page for every client, and add the redirect code for every client?
No, redirect is automatic, put {$username} in PageID/Alias to jump to after login field (Users & Groups » Frontend User Management » Preferences), in PageID/Alias to jump to after logout field put your homepage alias

It's valid if you insert username in Option » Page Alias field and uncheck Show in Menu field of your page Album

In homepage or other page call FrontEndUser module for login


For extended, you can use CustomContent in template of all Album pages with a check for loginname and $page_alias

Alby