Adriano
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
Change what a map shows when there are no search results
Iniciado por: daveG-7
en: 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 | hace 7 años, 2 meses | |
How to send auto notifications when deleting a post via CRED form
1
2
3
Iniciado por: jamesH-3 en: Toolset Professional Support |
|
3 | 33 | hace 8 años, 1 mes | |
Limit upload file size for repeating image custom field
Iniciado por: Rita en: Toolset Professional Support |
|
3 | 15 | hace 8 años, 2 meses | |
Filter for properties where not parent has been assigned
Iniciado por: John en: Toolset Professional Support |
|
3 | 6 | hace 8 años, 2 meses | |
"Row background extends to full width" not working in Beta 4
Iniciado por: triggeru571 en: Toolset Professional Support |
|
2 | 10 | hace 8 años, 5 meses | |
View with date filter
Iniciado por: francoiseR en: Toolset Professional Support |
|
2 | 4 | hace 8 años, 7 meses | |
2 CPT have different CF
Iniciado por: Adnan en: Toolset Professional Support |
|
2 | 4 | hace 8 años, 10 meses | |
How can I group views by custom field
Iniciado por: michaelR-12 en: Types Community Support |
|
2 | 8 | hace 8 años, 11 meses | |
Display the title links to parents of different CPTs
Iniciado por: Gavin en: Toolset Professional Support |
|
2 | 7 | hace 8 años, 11 meses | |
Problems to show parent fields into posts with a view
1
2
Iniciado por: Miguel Angel en: Toolset Professional Support |
|
2 | 17 | hace 8 años, 11 meses | |
Query filter – today to end of next week
1
2
Iniciado por: Vladimir en: Toolset Professional Support |
|
2 | 16 | hace 9 años | |
Need to find Sum total of fields in child loop
Iniciado por: Brent en: Toolset Professional Support |
|
2 | 6 | hace 9 años | |
Populate a Cred field with data linked to the type
Iniciado por: Pat en: Toolset Professional Support |
|
2 | 4 | hace 9 años, 1 mes | |
Exclude some taxonomy terms from filter search….
Iniciado por: Jean-Philippe en: Toolset Professional Support |
|
3 | 4 | hace 9 años, 2 meses | |
repeat custom field image in a slider
Iniciado por: petruccio en: Toolset Professional Support |
|
2 | 5 | hace 9 años, 8 meses |
Temas del foro creados
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
How to group posts by category
Iniciado por: Adriano en: Toolset Professional Support |
1 | 1 | hace 8 años, 6 meses |