Sal Collaziano Well-known member Aug 20, 2023 #1 What would be the easiest way to hide the LOGOUT link?
Solution Mr Lucky Aug 20, 2023 From the template account_visitor_menu remove this line: Code: <a href="{{ link('logout', null, {'t': csrf_token()}) }}" class="menu-linkRow">{{ phrase('log_out') }}</a> Thinking about it, that doesn't hide it, it removes it of course.
From the template account_visitor_menu remove this line: Code: <a href="{{ link('logout', null, {'t': csrf_token()}) }}" class="menu-linkRow">{{ phrase('log_out') }}</a> Thinking about it, that doesn't hide it, it removes it of course.
Mr Lucky Well-known member Aug 20, 2023 #2 From the template account_visitor_menu remove this line: Code: <a href="{{ link('logout', null, {'t': csrf_token()}) }}" class="menu-linkRow">{{ phrase('log_out') }}</a> Thinking about it, that doesn't hide it, it removes it of course. Upvote 1 Downvote Solution
From the template account_visitor_menu remove this line: Code: <a href="{{ link('logout', null, {'t': csrf_token()}) }}" class="menu-linkRow">{{ phrase('log_out') }}</a> Thinking about it, that doesn't hide it, it removes it of course.
Sal Collaziano Well-known member Aug 20, 2023 #3 Mr Lucky said: From the template account_visitor_menu remove this line: Code: <a href="{{ link('logout', null, {'t': csrf_token()}) }}" class="menu-linkRow">{{ phrase('log_out') }}</a> Thinking about it, that doesn't hide it, it removes it of course. Click to expand... Thank you! Upvote 0 Downvote
Mr Lucky said: From the template account_visitor_menu remove this line: Code: <a href="{{ link('logout', null, {'t': csrf_token()}) }}" class="menu-linkRow">{{ phrase('log_out') }}</a> Thinking about it, that doesn't hide it, it removes it of course. Click to expand... Thank you!
Russ Well-known member Aug 20, 2023 #4 I'd probably remove the Code: <hr class="menu-separator"> Just above it to avoid a weird extra line at the bottom. Upvote 0 Downvote
I'd probably remove the Code: <hr class="menu-separator"> Just above it to avoid a weird extra line at the bottom.