Switch Accounts isn't working
2 posters
Page 1 of 1
Switch Accounts isn't working
I placed a code in a widget on my forum to let users switch accounts easely
This code: https://help.forumotion.com/t137292-log-in-account-switch-widget?highlight=switch+accounts
But now, when someone wants to switch and they click the 'switch user' button, nothing happens..
Can someone help me with this problem?
This code: https://help.forumotion.com/t137292-log-in-account-switch-widget?highlight=switch+accounts
But now, when someone wants to switch and they click the 'switch user' button, nothing happens..
Can someone help me with this problem?
Re: Switch Accounts isn't working
Hello @WolfStory,
Have you modified or removed the {GENERATED_NAV_BAR} variable in the overall_header template ?
Have you modified or removed the {GENERATED_NAV_BAR} variable in the overall_header template ?
Re: Switch Accounts isn't working
Yes I use another nav bar
This is the website; http://www.wolf-story.com
This is the website; http://www.wolf-story.com
Re: Switch Accounts isn't working
The script for the widget needs to access the logout link of the default navbar. Add this after your custom navbar :
Display > templates > general > overall_header
It'll readd the default navigation, but you wont see it. The script in the widget should then be able to find the logout href attribute again.
Display > templates > general > overall_header
- Code:
<div style="display:none">{GENERATED_NAV_BAR}</div>
It'll readd the default navigation, but you wont see it. The script in the widget should then be able to find the logout href attribute again.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum