Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 956637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T00:34:14+00:00 2026-05-16T00:34:14+00:00

I am creating a search functionality in Drupal by exposing filters within View. The

  • 0

I am creating a search functionality in Drupal by exposing filters within View. The problem is that I would like to add also a Google Map that display the location of nodes, apart from the search results (node title and some other fields). I can easily do one or the other but I find it difficult to display both search results in a standard way and the map below it. The reason for that is that I cannot choose mmultiple styles within views – i.e. Gmap and HTML list. Any ideas how can I achieve that? Maybe it is possible by showing 2 separate views within one page, but how to pass the parameters? Any help will be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T00:34:15+00:00Added an answer on May 16, 2026 at 12:34 am

    This is an interesting question. Its definitely doable.

    The solution lies in creating a Views Attachment Display for the gmap style (just like Page Displays and Block Displays there are Attachment Displays). First google around and understand the concept of a views attachment and learn how to create a simple one.

    When you create a Views attachment display you need to specify which display to “attach” your view too. Subsequently in the attachment settings make sure you set “Inherit Exposed Filters” to “yes”.

    Briefly here are the steps in serial order

    1. Create a Page View for your search results (Node title + other fields)
    2. Create your exposed filters in the Default Display (so that it is available to all Views displays)
    3. Create an attached view with the gmap style. Note that since the exposed filter was created in the default display it should be available in the attached view also
    4. Make sure the attached view is attached to the Page display you created in step 2
    5. Make sure the “Inherit Exposed Filter” setting is Yes for the views attachment.
    6. Profit!
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am creating a search box form, but I would like to give the
Seems simple enough. I'm creating a search engine that returns results to the user
I'm creating eBay style search panes that allow users to narrow their results set
I'm creating a set of search panes that allow users to tweak their results
I'm creating a website with a database search functionality, but I want to make
I'm creating a search page, the page has a form that is being submitted
I'm creating a search for a website for an organization that works with abused
I'm new to ASP.NET MVC and I'm creating an app that will search a
I have a CMS that I am adding Site Search functionality. The application uses
I am currently busy creating a search function that queries a user input string

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.