The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Switch Accounts isn't working

View previous topic View next topic Go down

Solved Switch Accounts isn't working

Post by WolfStory on January 12th 2015, 4:37 pm

I placed a code in a widget on my forum to let users switch accounts easely
This code: http://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?

WolfStory
New Member

Posts : 7
Reputation : 1
Language : Nederlands

http://www.wolfstory.clicboard.com

Back to top Go down

Solved Re: Switch Accounts isn't working

Post by Ange Tuteur on January 13th 2015, 3:56 am

Hello @WolfStory,

Have you modified or removed the {GENERATED_NAV_BAR} variable in the overall_header template ?

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Switch Accounts isn't working

Post by WolfStory on January 13th 2015, 6:09 pm

Yes I use another nav bar
This is the website; http://www.wolf-story.com

WolfStory
New Member

Posts : 7
Reputation : 1
Language : Nederlands

http://www.wolfstory.clicboard.com

Back to top Go down

Solved Re: Switch Accounts isn't working

Post by Ange Tuteur on January 13th 2015, 6:44 pm

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 Edit
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.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Switch Accounts isn't working

Post by WolfStory on January 14th 2015, 11:44 am

It's working Smile Thank you!

WolfStory
New Member

Posts : 7
Reputation : 1
Language : Nederlands

http://www.wolfstory.clicboard.com

Back to top Go down

Solved Re: Switch Accounts isn't working

Post by Ange Tuteur on January 15th 2015, 4:26 am

You're welcome ^^

Topic archived

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum