November Happy Hour will be moved to Thursday December 5th.

Override Visitor Content with a dropdownlist

Vote:
 

I have a number of different visitor groups created for unique content that can display on a page. Now I need the option for a visitor to view other visitor group's content by selecting a dropdown on the content page.

I'm not sure how to override the content retrieval.  Can anyone point me in the right direction?

Thanks

#120316
Apr 15, 2015 0:57
Vote:
 

Hi Jerry,

Something like this [0]?

[0]: http://www.markeverard.com/2011/05/09/impersonating-visitor-groups-from-code/

/T

#120317
Edited, Apr 15, 2015 1:11
Vote:
 

Thanks!

This works great for the page load, but impersonating the visitor group from a dropdown isn't refreshing the content. What else am I missing?

#120437
Apr 16, 2015 22:49
Vote:
 

You probably need to save the selection somewhere (session/cookie) and do a refresh and at the page load see if there's a saved value.

/T

#120439
Apr 16, 2015 22:58
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.