Skip to main content

How to change login button to dashboard button after the user login into Memberstack 2.0?

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

  • Shadi null
    Shadi null

    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

    0
  • Ilai Szpiezak
    Ilai Szpiezak OP

    Great point! Is this the only way? Or is there a way Memberstack does it alone like in 1.0?

    0
  • Shadi null
    Shadi null

    I don’t have any experience with memberstack 1.0, unfortunately I can’t help you there. 😥

    0
  • Ilai Szpiezak
    Ilai Szpiezak OP

    No worries! That worked perfectly! Thanks a lot!

    0
  • Duncan from Memberstack
    Duncan from Memberstack

    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 🎉

    0

Please sign in to leave a comment.

Sitemap