Hey Does anyone know how to do the login rewrite on memberstack 2.0 so that once a user is logged in the "login button" is replaced for a different button such as "Dashboard"? Before you could do this set up in a few steps on Memberstack 1.0 but I can't find it in 2.0
5 comments
You could achieve this by having a custom attribute of data-ms-content=“!members” on the login button and a custom attribute of data-ms-content=“members” on the dashboard button
Great point! Is this the only way? Or is there a way Memberstack does it alone like in 1.0?
I don’t have any experience with memberstack 1.0, unfortunately I can’t help you there. 😥
No worries! That worked perfectly! Thanks a lot!
Just one thing to add here - You can use the attribute data-ms-action="login-redirect" on your dashboard button to make it more secure.
That button will only be visible once the member is logged in and the link is automatically populated from Memberstack 🎉
Please sign in to leave a comment.