daveG-7
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Este usuario no tiene debates favoritos.
Temas del foro creados
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
Showing user information in a custom post type admin view
Iniciado por: daveG-7 en: Toolset Professional Support |
2 | 3 | hace 7 años, 11 meses | ||
Display map marker popup on hover
Iniciado por: daveG-7
en: Toolset Professional Support
Problem: Solution: The Marker data holds a Title (on hover) and a "content", which will be displayed as a popup when someone clicks on the marker. |
2 | 5 | hace 7 años, 11 meses | ||
Adding Link to User Profile in Custom Post Type Listin in WordPress Admin
Iniciado por: daveG-7
en: Toolset Professional Support
Problem: Solution: Or You should go through following articles that may help you to add custom columns: Relevant Documentation: |
2 | 5 | hace 8 años, 1 mes | ||
Map markers not selectable on mobile
Iniciado por: daveG-7 en: Toolset Professional Support |
2 | 5 | hace 8 años, 1 mes | ||
Creating lightbox links for images from a repeating field upload
Iniciado por: daveG-7
en: Toolset Professional Support
Problem: Solution: For example: [wpv-for-each field="wpcf-additional-photos"] <a href="[types field="additional-photos" output="raw"][/types]">[types field="additional-photos" size="thumbnail" align="none" rel="lightbox" resize="proportional"][/types]</a> [/wpv-for-each] Relevant Documentation: |
2 | 4 | hace 8 años, 1 mes | ||
Change a user's role upon submission of a form
Iniciado por: daveG-7
en: Toolset Professional Support
Problem: The question being asked in this thread is that if it is possible to change a user's role upon submission of a post creation form. Solution: Yes this is actually possible but you it will need to be done using a CRED hook. What you need to do is use the hook and then within the hook you can update the user information using the function below. It will take some work but it can be done. The hook I recommend using is the one below. If this proves too difficult then you are more than welcome to open a support thread. |
2 | 5 | hace 8 años, 1 mes | ||
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 8 años, 1 mes | ||
Error 404 Page: There is no Layout assigned for content template layout
Iniciado por: daveG-7 en: Toolset Professional Support |
1 | 3 | hace 8 años, 2 meses |