1. piero
  2. General
  3. Tuesday, March 08 2016, 09:49 AM
hello , I need to have two pages of different recordings for two different types of users , this is possible?
admin Accepted Answer
Admin
Hi,
yes you can do this with simple trick, see this example:

I have fields for student and fields for teacher

- Create a hidden field (with alias "usertype" ) with following conditions:
1. if equal to custom value "" (leave empty) show student fields
2. if equal to custom value "teacher" show teacher fields

- Now can access at these form with these link
1. (student) http://your-site.com/registration (normal Joomla registration form)
2. (teacher) http://your-site.com/registration?usertype=teacher (same previous link with parameter usertype)

Docs to assign field value in registration from URL here: http://docs.easy-profile.com/index.php/article/tips-and-tricks
  1. more than a month ago
  2. General
  3. # 1
piero Accepted Answer
I do not understand where to create a new field , in the menu ?
  1. more than a month ago
  2. General
  3. # 2
admin Accepted Answer
Admin
Hi,
you need to create a new "hidden" field type in Easy Profile, and configure conditions.

After configuration of this field you can create 2 Menu Items:
1. Users->Registration form (student registration)... the link will be something like this: http://your-site.com/registration
2. System Links->External URL, in URL parameter you need to put the link of previous registration + ?usertype=teacher, so something like this: http://your-site.com/registration?usertype=teacher
  1. more than a month ago
  2. General
  3. # 3
peacetree Accepted Answer
BTW: if you do this and create external link to achiev this behaviour joomla does NOT allow you to assign module on these pages.

Any idea how to show targeted content for each of the registration pages?
  1. more than a month ago
  2. General
  3. # 4
admin Accepted Answer
Admin
Hi,
sorry for late reply.

Joomla allow you to create many menu items of type Users->Registration form, so you can follow these steps:
- Create a menu item of type Users->Registration (alias "registration1";) for the first registration page (in the main menu)
- Create another menu item of type Users->Registration (alias "registration2";) for the second registration page (in some hidden menu)
- Create a menu item of type System Links->External URL that point at the second Registration menu item and with url parameters for example with url like http://your-site.com/registration2?usertype=teacher (in the main menu)
  1. more than a month ago
  2. General
  3. # 5
peacetree Accepted Answer
Best man, thanks bro!
  1. more than a month ago
  2. General
  3. # 6
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.