1. Fabrik 3.8.1 has been released. It is mostly bug fixes and feature enhancements, but does include two new plugins (push notifications, and the sequence element). As usual we strongly recommend testing the new release on a sandbox if your application is mission critical, and always do an Akeeba backup before updating.
    Dismiss Notice

Hide table label from googlemap visualization

Discussion in 'Standard Support' started by pie, Feb 20, 2018.

  1. pie

    pie Member

    Level: Community
    Hi I am using content plugin to show a googlemap viz at the beginning of a list.
    Gmap viz is bound to a table, which label is shown just before the filters section. How could I hide it?
    The "show label" option for the list does not apply here, and I can't see a css style to hide in the html:
    <table class="filtertable table table-striped">

                  <th>THE LABEL I WANT TO GET RID OF</th>
                  <th style="text-align:right">
                      <a href="#" class="clearFilters">
    <span data-isicon="true" class="fa fa-refresh"></span>
    Clear filters                  </a>

                  <th colspan="2" style="text-align:right;">
                      <button type="submit" class="btn btn-primary">
    <span data-isicon="true" class="fa fa-filter"></span>
    Go                  </button>

                  <tr class="fabrik_row oddRow0">
                <td>Address </td>
                <td><input type="hidden" "="" data-filter-name="places___address" name="fabrik___filter[list_17_com_content_17][value][0]" class="inputbox fabrik_filter input-medium  locations___addressvalue" value="">
    <input type="text" name="auto-complete252" class="inputbox fabrik_filter input-medium  autocomplete-trigger locations___addressvalue-auto-complete" size="20" value="" autocomplete="off">
    <input type="hidden" class="inputbox fabrik_filter input-medium " name="fabrik___filter[list_17_com_content_17][condition][0]" value="contains">
    <input type="hidden" class="inputbox fabrik_filter input-medium " name="fabrik___filter[list_17_com_content_17][join][0]" value="AND">
    <input type="hidden" class="inputbox fabrik_filter input-medium " name="fabrik___filter[list_17_com_content_17][key][0]" value="`locations`.`address`">
    <input type="hidden" class="inputbox fabrik_filter input-medium " name="fabrik___filter[list_17_com_content_17][search_type][0]" value="normal">
    <input type="hidden" class="inputbox fabrik_filter input-medium " name="fabrik___filter[list_17_com_content_17][match][0]" value="1">
    <input type="hidden" class="inputbox fabrik_filter input-medium " name="fabrik___filter[list_17_com_content_17][full_words_only][0]" value="0">
    <input type="hidden" class="inputbox fabrik_filter input-medium " name="fabrik___filter[list_17_com_content_17][eval][0]" value="0">
    <input type="hidden" class="inputbox fabrik_filter input-medium " name="fabrik___filter[list_17_com_content_17][grouped_to_previous][0]" value="0">
    <input type="hidden" class="inputbox fabrik_filter input-medium " name="fabrik___filter[list_17_com_content_17][hidden][0]" value="0">
    <input type="hidden" class="inputbox fabrik_filter input-medium " name="fabrik___filter[list_17_com_content_17][elementid][0]" value="252"></td>
  2. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Community
    We show the list name there because it's possible to have multiple lists in a map viz, so there can be multiple filter blocks, and you kinda need to know which list you are filtering. However, if you only have one list, that's redundant. So I just committed a change to the filter view so it doesn't show that if only one list is being used.

    You can either do a github update to pick up this commit:


    ... (which only really changes a couple of lines, but PHP Storm decided to reformat the whole file, so it looks like there's a lot more changes than there is) or, if you have other customizations you want to make, you can always use your own custom template, by copying ...


    ... to some other name, and modifying (in this case) default_filters.php to suit, then select your new template in the viz settings.

    -- hugh

Share This Page