SWAuk / website

Student Windsurfing Association website
www.swa.co.uk
5 stars 3 forks source link

Have 1 form to create a user and register a member #89

Open addshore opened 10 years ago

addshore commented 10 years ago

See early discussion in https://github.com/CJxD/swa/issues/86

Beaker69 commented 10 years ago

the cheating way would be to have the joomla module create the user and then redirect to the swa form which then redirects to the payment page - with a little tweaking it could look like it was just three parts to one form....

addshore commented 9 years ago

Yep, I think this can be done with a plugin

oshotton commented 7 years ago

It looks like @addshore started this here.

Is there any reason you didn't implement this (other than didn't get time)? As I've had a quick look at how to do this and it seems this is the way to do it. Make a plugin that implements some of the onContentPrepare and onUserAfter methods to insert fields into the relevant forms and then manipulate the database accordingly.