integrate login/ registration form into a component
Posted: Sun Jul 15, 2012 6:33 am
HI
I have a component "Arrange 2 Drive" for car-share. Currently when a user click on add trip then it goes to add-trip page without check any authentication. But i need to check that the user is already logged-in. If the user is not logged-in then the user have to log-in or register.
when a user wants to add any trip then he have to login. If he has no user-Id then he have to register.
please tell me that which file will have to edit and which block of code will have to insert .
I need your help immediately.
I have a component "Arrange 2 Drive" for car-share. Currently when a user click on add trip then it goes to add-trip page without check any authentication. But i need to check that the user is already logged-in. If the user is not logged-in then the user have to log-in or register.
when a user wants to add any trip then he have to login. If he has no user-Id then he have to register.
please tell me that which file will have to edit and which block of code will have to insert .
I need your help immediately.