Page 1 of 1

Registering users with Joomla API

Posted: Mon Jan 14, 2008 1:00 am
by EliteLegend
I am glad I found this forum. I am trying my hand at coding for Joomla. I have seen various SDKs and most of them explain all the functions clearly with some simple examples. I'm sure even Joomla! has something like this but am unable to find it. Can someone please point me towards the right direction?

For example, as a starter, I would like to do something like the following:

Make a simple form with fields to accept the user details and then invoke a Joomla! function that registers the user. I won't be using the inbuilt Joomla registration system but I want to try my hand at creating one. Secondly, once I register, I would like to, well, you guessed it right, create a login form that authenticates the user and logs him inside.

So initially, when the user loads Joomla, he should be seen as a guest
Then I'll take him to a page that I created. He registers there as a user
Now, he'll be directed to a page I created
When he logs in, he'll get a confirmation
When he goes back to Joomla! he should be shown as logged in

Thats my basic idea. I know there are third party scripts like this but I really want to "learn" by coding them myself. Can someone please help me achieve this?

Re: Registering users with Joomla API

Posted: Mon Jan 14, 2008 1:37 am
by Centella
Here is the API Reference:
http://api.joomla.org/

And the documentation wiki for developers:
http://dev.joomla.org/component/option, ... Itemid,32/

That should get you started on the right path :) , I hope you have as much fun as I have learning about Joomla!

Best regards,
Sam

Re: Registering users with Joomla API

Posted: Mon Jan 14, 2008 1:53 am
by EliteLegend
Thanks a lot for the links. However I have already seen those pages. But the problem is that I'm unable to know where to start with :( I mean its not a problem with the documentation or something but I want to learn slowly by examples. To achieve what I want above, can you kindly tell me what all I need to refer to?

Re: Registering users with Joomla API

Posted: Mon Jan 14, 2008 3:31 pm
by cacimar
The tutorials:
http://dev.joomla.org/component/option, ... Itemid,32/

They appear to have examples.  I'm walking through them today.