Adriano
In den letzten 30 Tagen erstellte Support-Threads: 0
Lieblings-Forenthemen
Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
---|---|---|---|---|---|
Change what a map shows when there are no search results
Gestartet von: daveG-7
in: Toolset Professional Support
Problem: The client wanted to change the zoom accordingly the results of the View. If it doesn't return any results, then the zoom should be different. Solution: 1. Call the map render as last thing in the layout [wpv-layout-start] [wpv-items-found] <!-- wpv-loop-start --> <ul class="wpv-loop js-wpv-loop"> <wpv-loop> <li>[wpv-post-body view_template="Loop item in posts"]</li> [wpv-map-marker map_id='map-4' marker_id='marker-[wpv-post-id]' marker_field='wpcf-address-test'][/wpv-map-marker] </wpv-loop> </ul> <!-- wpv-loop-end --> [/wpv-items-found] [wpv-no-items-found] [wpv-map-marker map_id='map-4' marker_id='marker-[wpv-post-id]' address='Rua Pedro Trogo - Santo Antônio, Juiz de Fora - State of Minas Gerais, Brazil'][/wpv-map-marker] [/wpv-no-items-found] [wpv-map-render map_id='map-4' marker_icon='http://localhost:8888/teste/wp-content/plugins/views-addon-maps/resources/images/markers/Buildings.png'] [wpv-layout-end] Now use a Views JavaScript front-end event to change the zoom dynamically: jQuery( document ).on( 'js_event_wpv_addon_maps_init_map_started', function( event, data ) { if (WPViews.view_addon_maps.maps_data[0].markers[0].marker == 'marker-123'){ data.map_options.single_zoom = 1; } }); First you will need to define an ID for your marker in the wpv-map-marker shortcode inside of no items found. Then use the same ID in the code above and your zoom can be adjusted. |
2 | 6 | vor 8 Jahre | ||
How to send auto notifications when deleting a post via CRED form
1
2
3
Gestartet von: jamesH-3 in: Toolset Professional Support |
3 | 33 | vor 8 Jahre, 10 Monate | ||
Limit upload file size for repeating image custom field
Gestartet von: Rita in: Toolset Professional Support |
3 | 15 | vor 8 Jahre, 12 Monate | ||
Filter for properties where not parent has been assigned
Gestartet von: John in: Toolset Professional Support |
3 | 6 | vor 9 Jahre | ||
"Row background extends to full width" not working in Beta 4
Gestartet von: triggeru571 in: Toolset Professional Support |
2 | 10 | vor 9 Jahre, 2 Monate | ||
View with date filter
Gestartet von: francoiseR in: Toolset Professional Support |
2 | 4 | vor 9 Jahre, 5 Monate | ||
2 CPT have different CF
Gestartet von: Adnan in: Toolset Professional Support |
2 | 4 | vor 9 Jahre, 8 Monate | ||
How can I group views by custom field
Gestartet von: michaelR-12 in: Types Community Support |
2 | 8 | vor 9 Jahre, 8 Monate | ||
Display the title links to parents of different CPTs
Gestartet von: Gavin in: Toolset Professional Support |
2 | 7 | vor 9 Jahre, 8 Monate | ||
Problems to show parent fields into posts with a view
1
2
Gestartet von: Miguel Angel in: Toolset Professional Support |
2 | 17 | vor 9 Jahre, 9 Monate | ||
Query filter – today to end of next week
1
2
Gestartet von: Vladimir in: Toolset Professional Support |
2 | 16 | vor 9 Jahre, 9 Monate | ||
Need to find Sum total of fields in child loop
Gestartet von: Brent in: Toolset Professional Support |
2 | 6 | vor 9 Jahre, 10 Monate | ||
Populate a Cred field with data linked to the type
Gestartet von: Pat in: Toolset Professional Support |
2 | 4 | vor 9 Jahre, 11 Monate | ||
Exclude some taxonomy terms from filter search….
Gestartet von: Jean-Philippe in: Toolset Professional Support |
3 | 4 | vor 10 Jahre | ||
repeat custom field image in a slider
Gestartet von: petruccio in: Toolset Professional Support |
2 | 5 | vor 10 Jahre, 6 Monate |
Forum Topics Created
Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
---|---|---|---|---|---|
How to group posts by category
Gestartet von: Adriano in: Toolset Professional Support |
1 | 1 | vor 9 Jahre, 4 Monate |