17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1007 Views |
-
class UserAndAPageAtTheSameTime

11 July 2007 at 11:00am
Hi, I was hoping for a bit of wisdom about a problem I'm having...
The site I'm making has Client objects that extend Page since their main role on the site is to show a page with the client's information on it. The thing is, the clients also need to be able to log in and edit their page themselves, so we need a Client member type. I don't want the site admins to have to create two objects each time they add a client, so I was wondering about the best way to do this:
Should I just make them Member objects and create a controller or something to display their data (although I'd really like the URLs to just be /user-name)?
Or is it good and do-able to have two separate objects and make the ClientPage create a ClientUser automatically when it's created? -
Re: class UserAndAPageAtTheSameTime

14 July 2007 at 3:48pm
I would probably create a controller to display members.
www.site.com/member/(username) or something.
| 1007 Views | ||
|
Page:
1
|
Go to Top |


