How can I show a View for cer开发者_JAVA技巧tain visitors from a specific IP address or specific logged in user? The view should only display for a visitor from a specific IP address,and other visitors see an empty View.
One way would be to use the Restrict Login or Role Access by IP Address module to assign the specific IP address(es) a role. Then in the view, configure Basic settings > Access to limit access to the view to only users with that particular role.
精彩评论