By Anthony on Wednesday, 17 October 2018
Posted in Technical Issues
Likes 0
Views 399
Votes 0
Short version

  • I have 2 different profile types which use different user workflows. I want to allow new users to choose which profile they want and to register using quick registration on the community page. Is there already a standard way of doing this?


  • Is there a way to use 2 or more quick registration modules on the same page? I tried it and encountered errors.


Long Version
I wanted to allow quick registration for multiple easysocial profile types on the main page (http://www.example.com/community). I did this by creating 2 quick registration modules on the main page (community page). I hid these 2 modules from the user and using a custom html module allowed the user to select the profile type they wanted to register. For example, when the user clicked on "Create Userprofile 1" button -theuserprofile1 quick registation module was revealed. The same thing would happend for userprofile 2. The problem with this is that whenever there is more than one quick registration module on a page, I get the following error


TypeError: c.start is not a function site-2.2.4.min.js:1096:127


In more detail

a.fn.validate https://example.com/media/com_easysocial/scripts/site-2.2.4.min.js:1096:127 <anonymous> https://example.com/community:1040:4 dispatch https://example.com/media/com_easysocial/scripts/site-2.2.4.min.js:89:506 add/r.handle https://example.com/media/com_easysocial/scripts/site-2.2.4.min.js:85:205


Is this a bug? Is there anyway to have more than one quick registration module working on the same page?

I can kind of get around this, by using the standard quick registration on the community page in conjunction with one quick registation module, but if I ever have more than 2 profile types I will be stuck again. Also it seems to be a lot more of a pain to implement, particularly for styling.


I'm using Joomla 3.8.12 and Easysocial 2.2.4.
Hey there,

Currently, it does not support more than 1 quick registration module on the same page.

I will log this into our issue tracker to see whether we can find a better solution to support more than 1 of it on the same page.

For now, you can use back your idea which is using a custom HTML module allowed the user to select the profile type they wanted to register. When the user clicked on "Create Userprofile 1", it will redirect to another page that shows -theuserprofile1 quick registation module and same goes to user profile 2 if he/she clicked on "Create Userprofile 2".
·
Wednesday, 17 October 2018 14:03
·
0 Likes
·
0 Votes
·
0 Comments
·
OK thanks. For now, I will look at doing it that way.
·
Wednesday, 17 October 2018 16:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Wednesday, 17 October 2018 16:41
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post