Filter a view basin on information from the currently logged-in user profile (from the Content Profile module)
I have the Content Profile module installed. With this module, each user has one to many locations that are attached to them.
These locations are created via the Locs content type. I have another content type (todays_spot) which has a single location, dynamically created via the Locs content type.
I’m pulling some of the todays_spot data out via a view, but I need to filter it so it only displays data if the users locations match.
How can I achieve this?
This article was republished from its original source.
Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.