Published
2008-06-10 01:56
We've had the ability to add one/more CiviCRM Profiles to the drupal registration page since the first release (thanx to the flexibility of Drupal hooks). This was not possible in Joomla 1.0.x and we hoped the 1.5.x series might help solve this issue and be more open. While Joomla 1.5 is a major step forward in multiple aspects, it did not address this issue. So to some extent we were stuck. I was hoping for someone in the community to step up and do the needful. But that did not seem to be happening either :(
After yet another forum post on this topic, i decided to take a look at the code and figure out what needs to be done. We had abstracted most of the pieces from drupal already, so we just need to make a few function calls at the right places. I started looking for an example component that does something similar, that I could base my work on. Had heard good things about Community Builder, so that was my first choice. The CB 1.1 release does not support Joomla 1.5 and you need to become a "paid subscriber" to get the 1.2 RC. I'm not really a big fan of the pay money to get the latest version of the software, so I moved on from CB and started looking at other possibilities. Found a couple of others, but realized that all these components are commercial and require registration / payment to download it etc. Definitely a very different ecosystem than drupal.
I found an article which led me to the files I needed to modify to get the desired effect. Once i knew this it was just a matter of splicing in the code we had developed for hooking in with drupal registration and pretty soon, I had a similar setup as drupal (for the registration screen). You can find the commits associated with this issue here. Note that this has been developed on CiviCRM trunk and Joomla 1.5.3. I suspect porting this to v2.0 and Joomla 1.5.3 is not too hard (except for the notice messages).
I still need to wrap up the "Your Details" page and get that fixed, but I think this is definitely a step forward in the right direction. Hopefully some Joomla developer folks will step up and help move this further along