Add links to login block
In one of my requirement I had two registration for two users. User had two roles. We have to build seperate form for two user registration.
I created two profiles using profile2 module and using profile2reg path module i got the seperate distrinct registration url for both the roles.
By registrating from the specific url user will automatically get the respective role.
Now to give the seperate registration link for user we have to alter registration form using hook_form_alter() function.
Here is the code snippet how to achieve it.
In any case if we want to add some more links to user