integrate login/ registration form into a component

For Joomla! 1.5 Coding related discussions, please use: http://groups.google.com/group/joomla-dev-general
Forum rules
Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.
aslampatwary
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Mar 29, 2011 8:52 am

integrate login/ registration form into a component

Postby aslampatwary » 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.

fleischwolf
Joomla! Explorer
Joomla! Explorer
Posts: 449
Joined: Thu Sep 30, 2010 2:29 am
Location: Europe

Re: integrate login/ registration form into a component

Postby fleischwolf » Sun Jul 15, 2012 9:00 pm

Have at look at the official documentation on Joomla! user object -> http://docs.joomla.org/Accessing_the_cu ... ser_object and the API documentation of the Joomla-Platform -> http://api.joomla.org/ .
Regards, fw.
Problem solved? Please add [SOLVED] to the thread title! -> http://forum.joomla.org/viewtopic.php?f=432&t=509319


Return to “Joomla! 1.5 Coding”

Who is online

Users browsing this forum: No registered users and 14 guests