planetalk Posted February 25, 2019 Posted February 25, 2019 Hi. I have created a bunch of pages for my tutorial site and I've made them as html pages without the suite wrapper. I now realize there's no way for my members to log out without returning to the forum pages. How can I add the logout drop down like I'm seeing right now in the top right hand corner of this page? Is there a block? Or can someone tell me how to code for that? Thanks, KL
bfarber Posted March 6, 2019 Posted March 6, 2019 You could copy the code from the corresponding template into your page, but be aware that the logout link has a CSRF token so you need to use the correct CSRF key for the current viewing user. I.e. you can't just copy the HTML page source when you view the page. Most likely you'll need to add this to a custom block, then embed the block into the page where you want it to show.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.