Problems using Views (Toolset) with Mappress

Home Forums MapPress Support Problems using Views (Toolset) with Mappress

Tagged: , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #14368

    Hello Chris ,

    I use Mappress and Views (Toolset plugin) together to make an agencies search engine on a multilingual site. “Views” allows me to make the search/filter form. There are a few months Toolset support team helped me to develop a piece of code that allowed to pass the query from Views to Mappress. It works well. However since the latest updates of your plugins, when no research is performed, Mappress displays Fr and Uk agencies points and links on the map and the Poi List. If you filter the points using the checkboxes (services) or the select box (locations) Mappress displays the points in the right language. Is there a way to initialize Mappress when the page load to display only the datas relative to the site language ?

    You can see the page here:

    My discussions with Toolset support team on their forum.

    1 – ( 06/19/13 )
    2 – (13/02/14)

    Thank you for your help.



    I don’t know the details of your system, but it looks like the query you are sending after selection includes a taxonomy query against taxonomy ‘localization’.

    Perhaps you could include that taxonomy in the initial query. This is what is send now (for France):


    If your initial query is created using PHP you can add the taxonomy to it. See the WP_Query documentation:

    If it’s a shortcode, I think it will be difficult. You can include a taxonomy in the shortcode but there’s no way to default it based on the user’s locale:

    [mashup query=”post_type=any&posts_per_page=-1&localisation=290″}


    Hello Chris,

    OnTheGoSytem teams (Toolset) have found a solution, by adding to “mappress_query.php” file at line 110 $ query ['suppress_filters'] = false;
    Think you can add it in a future release of the plugin?
    This will allow to operate Mappress with filters in Toolset (Types and Views).

    Thank you very much.



    Thanks for the update. I don’t know if it makes sense to modify MapPress for this, since most users don’t wish to disable query filters.

    For your queries, though, you should be able to just include that parameter in your query string:

    [mashup query="suppress_filters=true"]

    Or if you’re using a PHP array for the query:

    $query['suppress_filters'] = true;

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.