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?
Private gallery - possible???
-
alby
Re: Private gallery - possible???
Maybe with FEU module (check sintax name):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?
- 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???
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?
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?
-
alby
Re: Private gallery - possible???
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 aliaslouisk wrote: Does that mean i would have to prepare a page for every client, and add the redirect code for every client?
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

