Tuesday, August 3, 2010

individual ID's for user profiles

hi,

thats, what keeps me busy at the moment. if you click on a profile on
facebook you see an individual id in the adress bar. that makes
sense.

on my website its similar. each user has an ID wich is created at
registration. now when i am logged and i wanna go to a profile, it HAS
to be opened with its ID in the adressbar, right??

like www.mysite.com/profile/34nnm234n2412234ds

now i know that for each part in the adress bar there is a function
necessary in cake. like profile() in the controller. but what about
the ID??

how is the technical process here? how do i tell cake that i want this
specific profile to open? cause cake has to get the information about
the user...

lets say there is a link somewhere, directing to user "robert"
profile. what is the code behind that link? and if the link is
clicked, what happens from a technical view?

big thx :)

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate