The Joomla! Forum ™



Forum rules


Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
PostPosted: Sun Jul 15, 2012 6:33 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Mar 29, 2011 8:52 am
Posts: 4
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.


Top
 Profile  
 
PostPosted: Sun Jul 15, 2012 9:00 pm 
Joomla! Explorer
Joomla! Explorer

Joined: Thu Sep 30, 2010 2:29 am
Posts: 447
Location: Europe
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 



Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group