Private gallery - possible???

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
louisk
Forum Members
Forum Members
Posts: 89
Joined: Wed May 30, 2007 7:40 pm

Private gallery - possible???

Post 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?
alby

Re: Private gallery - possible???

Post 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
louisk
Forum Members
Forum Members
Posts: 89
Joined: Wed May 30, 2007 7:40 pm

Re: Private gallery - possible???

Post 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?
alby

Re: Private gallery - possible???

Post 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
Post Reply

Return to “CMSMS Core”