Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Filter different clients to certain content with different passwords?
I am about to take on a project where I need to allow two types of customers to view different content. This needs to be done without their knowledge.
Customer A can view content A. Customer B can view content B.
I would like to do this by password. Customer A is given a specific password and Customer B is given a different password. When the password is entered the user is directed to the specific content based on password.
Can this be done within textpattern and how?
Last edited by mattmikulla (2006-01-19 05:43:49)
Art Rogue – Fine Art Photography
Offline
Re: Filter different clients to certain content with different passwords?
Seems like this could be done with php and cookies. A login on the main page would set the cookie, and on each page template, you could redirect to two different forms dependant on what the cookie value was. I have something similar working on the Fillip site. It might make sense to put your content into two sections or catagories and then test in each template associated with a given section that the correct password has been entered.
Offline
Re: Filter different clients to certain content with different passwords?
Thanks Jeff K.
Any ideas on where to begin. Can I use textpatterns txp:password_protect?
Art Rogue – Fine Art Photography
Offline