What should I know to create a component that adds new user profile fields?
Posted: Thu Oct 18, 2007 6:10 pm
Howdy,
I'm just starting to learn how to program for Joomla, and my, isn't it huge?
Here's what I want to do: I want to extend the user profile in registration and probably everywhere else. That means I would like to hard code some new user fields.
I was pointed to CB, but I have to confess that it seems pretty much overkill when I just want to do something this basic. So I decided to write a component that would extend the user profile, but I have no idea how to connect with what already exists and by that I mean Joomla's own user management components. Joomla seems so modular that is very complex in my eyes, and I don't know where to start.
I already know how to program basic modules, but this time I have to do a component and one that may conflict with the existing com_user. This is not my intention. I wish to extend it, but without editing it directly, or otherwise my changes would be gone upon the next upgrade.
I'm having a difficult time while trying to read Joomla's source code. It's heavily optimized and object-oriented, and PHP doesn't help with its ackward syntax.
Tips, code, links, or advice very much appreciated. I'd love to dig deeper into the Joomla API, but in due time. Right now I'm somewhat in a hurry to get this one stage over with.
I'm just starting to learn how to program for Joomla, and my, isn't it huge?
Here's what I want to do: I want to extend the user profile in registration and probably everywhere else. That means I would like to hard code some new user fields.
I was pointed to CB, but I have to confess that it seems pretty much overkill when I just want to do something this basic. So I decided to write a component that would extend the user profile, but I have no idea how to connect with what already exists and by that I mean Joomla's own user management components. Joomla seems so modular that is very complex in my eyes, and I don't know where to start.
I already know how to program basic modules, but this time I have to do a component and one that may conflict with the existing com_user. This is not my intention. I wish to extend it, but without editing it directly, or otherwise my changes would be gone upon the next upgrade.
I'm having a difficult time while trying to read Joomla's source code. It's heavily optimized and object-oriented, and PHP doesn't help with its ackward syntax.
Tips, code, links, or advice very much appreciated. I'd love to dig deeper into the Joomla API, but in due time. Right now I'm somewhat in a hurry to get this one stage over with.