I want to put a login/logout hyperlink (not a button) in the header section of my site. No matter what I do, this code never executes. When I use a button, it is always greyed out when in the header. When I move it to the body, it always works. Yes, I have ensured that the underlying code is behind the header page objects… I want to be able to have my users log out or view their profile page on any screen. Thank you!
Hey,
Why not using the member login button ?
If you still prefer using code, please make sure that the code is written in the “Site” section. Click here to read more about the differences between the Page and Site Tabs of the code editor.
Thanks,
Tal.
I want a logout button, as well as a Edit Profile button. Let me put those in the Site tab - thank you!
I got it to work. Thanks