I need to test if a user is within a site context or not to perform some action in share page views. How can I achieve this?
Asked
Active
Viewed 31 times
0
-
I need to move the global search bar to the collaboration navigation section in all sites but leave it where it is if the user is not in a site. To do this I was hoping to detect whenever a user is within a site context. – Dark Star1 Sep 27 '13 at 18:28
1 Answers
0
I ended up duplicating the search bar in the collaboration-navigation bar and with a sprinkle of javascripting, able to hide and display the Global search bar, when in sites.

Dark Star1
- 6,986
- 16
- 73
- 121