markusK-6
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Step by Step search
Started by: markusK-6 in: Toolset Professional Support |
2 | 2 | 5 years, 10 months ago | ||
Toolset maps browser location permission by search my location
Started by: markusK-6
in: Toolset Professional Support
Problem: The distance filter for a View triggers a permission prompt even if I don't click "Use my location". Solution: Update to the latest Maps plugin. |
2 | 4 | 6 years, 5 months ago | ||
For many records very long response times / Google Maps API Limit reached
Started by: markusK-6 in: Toolset Professional Support |
3 | 5 | 6 years, 5 months ago | ||
Disable js-toolset-maps-distance-current-location
1
2
Started by: markusK-6
in: Toolset Professional Support
Problem: The issue here is that the user wanted to disable the distance button on his parametric search. Solution: To disable the button you can use the js code below. jQuery(document).ready(function(){ jQuery('.js-toolset-maps-distance-current-location').attr('disabled','disabled'); }); |
3 | 30 | 6 years, 7 months ago | ||
Sort by secondary in sorting controls
Started by: markusK-6 in: Toolset Professional Support |
2 | 5 | 6 years, 8 months ago | ||
Map is not visible after sort by and pagination
Started by: markusK-6
in: Toolset Professional Support
Problem: When I use sorting or pagination my map disappears. Solution: Use the option "Pagination enabled with manual transition and AJAX" since you have also selected "AJAX results update when visitors change any filter values." Add an anchor to the filter editor: <a name="scroll-to-filters"></a> Add this code in the Filter Editor JS panel to scroll back to the filters after the results are updated: function wpvScrollToAnchor(aid){ var aTag = $("a[name='"+ aid +"']"); jQuery('html,body').animate({scrollTop: aTag.offset().top},'slow'); } jQuery(document).ready(function(){ jQuery( document ).on( 'js_event_wpv_pagination_completed', function( event, data ) { /** * data.view_unique_id (string) The View unique ID hash * data.effect (string) The View AJAX pagination effect * data.speed (integer) The View AJAX pagination speed in miliseconds * data.layout (object) The jQuery object for the View layout wrapper */ wpvScrollToAnchor('scroll-to-filters'); }); }); To use a static map instead of a Views map, activate the Static Maps API in the Google console (it is a separate API), then use an image tag to generate each static map: <img src="https://maps.googleapis.com/maps/api/staticmap?center=[types field='address-field-slug'][/types]&zoom=13&size=300x150&maptype=roadmap&markers=color:red%7C&key=YOURAPIKEY" /> |
3 | 8 | 6 years, 9 months ago | ||
Add slider in a view
Started by: markusK-6
in: Toolset Professional Support
Problem: The issue here is that the user had some repeated image fields and wanted to create a slider using these images. Solution: I managed to create a flexslider plugin that should be able to help your. Download and install the plugin in the link below. Then create a content template for your post and add the following. <div class="flexslider"> <ul class="slides"> [wpv-for-each field="wpcf-image_1"] <li>[types field="image_1" size="medium" align="none" resize="pad" padding_color="#FFF"][/types]</li> [/wpv-for-each] </ul> </div> After doing this then you will need to add the script for it to work. Add this to the js section of the content template. jQuery(window).load(function() { jQuery('.flexslider').flexslider(); }); |
2 | 11 | 6 years, 9 months ago | ||
Style map distance filter
Started by: markusK-6
in: Toolset Professional Support
Problem: I want to style and translate the distance filter, where can i do that? In the view i have the following code: Solution: Q1) style distance filter input.js-toolset-maps-distance-value{ /* here add your custom CSS codes*/ } Q2) translate the distance filter [wpv-control-distance inputs_placeholder="MY OWN Show results within %%DISTANCE%% of %%CENTER%%" visitor_location_button_text="MY OWN Use my location" ...] Q3) Where can i set that the autocomplete results are only in germany? Q4) Where can i delete the input fielt of km and mi? select.js-toolset-maps-distance-unit{ display:none; } Q5) Is there a possibility to change the input field distance in ajax slider like that? Relevant Documentation: |
3 | 6 | 6 years, 10 months ago |