Charles
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 |
---|---|---|---|---|---|
Can’t get maps to show individual item’s location
Started by: Charles
in: Toolset Professional Support
Problem: I have a View that shows a list of results, and in each result I would like to display a thumbnail-sized Google Map showing a custom address field. When I test the View, all the map markers are appearing in the first map, and every map except the first one is centered in the ocean with no markers applied. Solution: Check the Loop Output to make sure that you have unique IDs on each map, and unique IDs for each map marker. Consider replacing these interactive maps with Static Maps using the Google Static Maps API, and using larger interactive maps on a detail View for each post. Example static map implementation: <img src="https://maps.googleapis.com/maps/api/staticmap?zoom=13&size=450x150&maptype=roadmap&markers=color:red%7Clabel:S%7C[types field='address-field-slug' format='FIELD_LATITUDE,FIELD_LONGITUDE'][/types]&key=YOURAPIKEY" /> Relevant Documentation: https://toolset.com/documentation/user-guides/display-on-google-maps/ |
2 | 5 | 7 years, 2 months ago | ||
Map with parametric search and results
Started by: Charles
in: Toolset Professional Support
Problem: I would like to use Toolset Maps to emulate the design seen here: https://hotpads.com/pinole-ca/apartments-for-rent/map Solution: Some parts of this design can be replicated with Toolset Maps, but others will require a significant amount of custom code with JavaScript and CSS. For example, hover interaction between the list and markers is not supported. Full-screen display is not supported, and the overall layout of the map and results list will require your own custom CSS. The custom filter input design will require your own custom CSS. We do offer the ability to focus on a marker when you click a link, as well as the ability to filter results and update the map using AJAX. We also offer the ability to customize your map markers and popups. Relevant Documentation: https://toolset.com/documentation/user-guides/display-on-google-maps/ |
2 | 7 | 7 years, 2 months ago | ||
Custom field displaying information from another post
Started by: Charles in: Toolset Professional Support |
1 | 2 | 7 years, 2 months ago | ||
Modal with login form not working properly
Started by: Charles in: Toolset Professional Support |
2 | 5 | 7 years, 2 months ago | ||
Bootstrap Modal not staying open
Started by: Charles
in: Toolset Professional Support
Problem: When I open a Bootstrap modal, it appears and immediately disappears without any user interaction. Solution: In this case, the Bootstrap Modal plugin seems to be the source of the problem. Since Toolset is already loading Bootstrap, the plugin is not necessary. Please disable it. |
2 | 11 | 7 years, 2 months ago | ||
Allow user to pick options before submitting cred form
Started by: Charles
in: Toolset Professional Support
Problem: Solution: The main page that will list packages, you may build that using View (if you already have content stored in any CPT like “package1, package2, etc”. -- OR you can use a Pricing Table plugin to create pricing packages table >> add 3 buttons >> and add 3 links on the buttons -- each linking to a separate CRED form (3 forms we have already created above). Some pricing table plugins are: |
2 | 7 | 7 years, 3 months ago | ||
Adding comma to values over 999
Started by: Charles in: Toolset Professional Support |
2 | 7 | 7 years, 3 months ago | ||
“Upload failed!” message when trying to upload a new CRED post
Started by: Charles
in: Toolset Professional Support
Problem: When I try to upload a custom field image in my CRED form, I am shown an error "Upload failed!". Solution: In this case it appears the Sharebear social plugin is causing a conflict. Try a different social sharing plugin for fastest resolution. |
2 | 13 | 7 years, 3 months ago | ||
Need to add lazy loader (spinner or white space) to flexslider
Started by: Charles
in: Toolset Professional Support
Problem: Solution: jQuery('#flexslider').flexslider({ animation: "slide", controlNav: false, animationLoop: false, slideshow: false, sync: "#carousel", start: function() { jQuery('#flexslider').find('.loading').hide(); } }); 2. Then use this in View or Content Template: <img class="loading" style="display:block;margin:auto" src="http://www.mywebsite.com/wp-content/uploads/2017/08/gif-load.gif" alt="Loading..."> |
2 | 6 | 7 years, 3 months ago | ||
Favorites view + conditional button on post (add to / remove from favorite list)
Started by: Charles
in: Toolset Professional Support
Problem: I want my Users to be able to select favorite posts by clicking a button on the single post page that toggles a favorite status. Solution: Use the cred_save_data function to update a custom field that stores user favorites, or implement a 3rd-party favorites plugin. |
2 | 8 | 7 years, 3 months ago | ||
Remove CSS from Search & Reset filter button
Started by: Charles
in: Toolset Professional Support
Problem: The issue here is that the Search and Reset filter buttons on the customers view was getting some default styling and he wanted to remove those styling. Solution: Unfortunately the default styling was being produced by the theme as views does not include any default styling for these buttons. It is advised to check your theme's documentation to see what default styles will be applied to buttons |
2 | 3 | 7 years, 3 months ago | ||
Having post title show in message area
Started by: Charles in: Toolset Professional Support |
4 | 8 | 7 years, 3 months ago | ||
Having a difficult time getting messages between users to work properly
Started by: Charles
in: Toolset Professional Support
Problem: On my Listing post page, I have a link to a CRED form page where the User can create a Message (a new post) regarding the Listing. I would like to be able to send a notification email to the author of the Listing when the form is submitted, and I would like to store the Listing author's information in the Message post as a custom field. Solution: [cred_generic_field field='seller_id' type='hidden' class='' urlparam=''] { "required":0, "validate_format":0, "persist":1, "generic_type":"user_id", "default":"[wpv-post-author format='meta' meta='ID' id='[wpv-post-param var='listing-id']']" } [/cred_generic_field] In the email notifications editor, select the proper information from the form fields to use as the "To" email address for the seller. In this case, it's seller_id. Use the cred_save_data hook to update the message post using the seller ID captured in your generic field: add_action('cred_save_data', 'custom_message_to',10,2); function custom_message_to($post_id, $form_data) { // if a specific form if ($form_data['id']==387 && isset($_POST)) { $seller_id = $_POST['seller_id']; update_post_meta( $post_id, 'wpcf-message-to', $seller_id ); } } Relevant Documentation: |
2 | 15 | 7 years, 3 months ago | ||
Link back to post once message is sent to seller
Started by: Charles
in: Toolset Professional Support
Problem: I have a link to a CRED form on my single post page. I would like to redirect the success message displayed after the form is submitted to include a link back to the single post page. Solution: Add some custom PHP that will allow you to access the URL parameter from the CRED form page. Use the URL parameter from the CRED page to build your link. // Access URL parameters // Example: [wpv-post-param var='someurlparam'] add_shortcode( 'wpv-post-param', 'wpv_post_param_shortcode' ); function wpv_post_param_shortcode( $atts ) { if ( !empty( $atts['var'] ) ) { $var = (array)$_GET[$atts['var']]; return esc_html( implode( ', ', $var ) ); } } <div class="woocommerce-message" style="text-align: center;">Your message has been sent to the Seller.</div> <ul class="nav-single pager"> <li class="nav-previous previous"><a href="/motorcycles/[wpv-post-param var='listing-id']" rel="prev"> Click here to return to the [wpv-post-title id="[wpv-post-param var='listing-id']"]</a></li> </ul> |
2 | 7 | 7 years, 3 months ago | ||
Disable Bootstrap “form-control” styling
Started by: Charles
in: Toolset Professional Support
Problem: I would like to disable the blue glow and rounded borders on form inputs that have the "form-control" CSS class. Solution: Either disable Bootstrap entirely in Toolset > Settings > General, or add your own styles that will override Bootstrap. The following code will remove the rounded corners and blue glow on focus: .wpv-filter-form .form-control { border-radius: 0; box-shadow: none; -webkit-box-shadow: none; } Relevant Documentation: https://toolset.com/documentation/user-guides/using-bootstrap-css-elements-content/ |
2 | 5 | 7 years, 3 months ago |