Jump to content

Listing resource link to force user login


Haim Barad

Recommended Posts

I would really like the following behavior.

 

Show the listing resources as we currently do.

If the user is already logged in, then the list works as normal.

If the user isn't logged in, then a modal dialog appears telling the user that this link is restricted to members only and shows the typical registration/login form (with social icons from JFBConnect in my case). Once the user is in (either new registration or login), then the link works as normal.

 

What's the best way to accomplish this?

 

Link to comment
×
×
  • Create New...