Forum: Geo Members Directory

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support related to the Geo Members Directory premium extension please open a new premium support ticket.

Can we set the map only for results?

Forums Geo Members Directory Can we set the map only for results?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #34827
    SangBum Lee
    Member

    Dear Eyal,

    In the members-directory,
    can you provide a code snippet for removing the map as default in the members directory page but to appear only in the results showing the specific members searched ?

    I checked in the setting page but it looks like showing map option is combined with before search & after search.

    Thank you in advance.

    #34830

    Hi Lee,
    I am not sure I understand your request. Do you want the map to be displayed only when address entered and the form is being submitted?

    #34829
    SangBum Lee
    Member

    Hi Eyal,

    Yes that is exactly what i want 🙂

    #34828

    Try the below:
    1) open the file gmw-members-directory/includes/gmw-members-query-class.php

    2) go to line 445 which should be:

    and change it to:

    Note that I added:

    which checked if the address field is empty.

    3) Save the file and test it.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.