Minesh
Support threads created in the last 30 days: 0
Recent client feedbacks
Mr Minesh did already a small function for us, and used to know about the ciisue between the Theme and conditional Fred-r.M
He is always trying to be most helpful. PZ
He consistently gives great advice. So thorough, knowledgable and helpful. A million thanks. LilianS-2
I have seen in other's tickets too Minesh gives proper solution! Sasank
Very helpful and knowledgable. BambiM
Did a fantastic job helping us before. He's quick, responsive and know his stuff. SeanN-5
Minesh worked on the previous issue GeoffD
Concise, and communicates well. He's been a big help when I need some, as have others on your team. Tom Gonzales
He is very professional and helpfull DomenicoS
Helps accurately! PrasadS
Favorite Forum Topics
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Check if parent post exists
Started by: PiotrO586
in: Toolset Professional Support
Problem: Solution: For example: [wpv-conditional if="( '[wpv-post-id item="@relationship-slug.parent"]' ne '' )"] parent exists [/wpv-conditional] You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 8 | 6 years, 6 months ago | ||
How to sort or order custom field value having dollar sign and commas as number field value using views sorting
Started by: marcusC-4
in: Toolset Professional Support
Problem: Solution: You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 6 | 6 years, 6 months ago | ||
Automatically set post parent in post form from URL parameter
1
2
Started by: Brad Tipper
in: Toolset Professional Support
Problem: Solution: For example: add_action('cred_save_data','func_custom_post_title',15,2); function func_custom_post_title($post_id,$form_data) { if ($form_data['id']==243) { toolset_connect_posts('boat-safety-check',$_POST['@boat-safety-check_parent'], $post_id); } } You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
3 | 28 | 6 years, 7 months ago | ||
How to disable the dynamic CSS and JS files from Layouts?
Started by: atsushiK
in: Toolset Professional Support
Problem: Solution: // dequeue Layouts dynamic style for Template Layouts add_filter('wp_enqueue_scripts', function(){ wp_dequeue_style( 'wp_ddl_layout_fe_css' ); }, 1000); // dequeue Layouts dynamic script for Content Layouts add_action('get_header', function(){ wp_dequeue_script( 'wp_ddl_layout_fe_js' ); }, 11); // dequeue Layouts dynamic style for Content Layouts and Script for Template Layout add_filter('get_layout_id_for_render', function( $id, $args ){ wp_dequeue_style( 'wp_ddl_layout_fe_css' ); wp_dequeue_script( 'wp_ddl_layout_fe_js' ); return $id; }, 1000, 2); |
2 | 3 | 6 years, 7 months ago | ||
Display view results only for simple product type
Started by: davidZ-4
in: Toolset Professional Support
Problem: Solution: You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
3 | 6 | 6 years, 7 months ago | ||
Having trouble filtering and returning related results based on dropdown menu
Started by: webD-3
in: Toolset Professional Support
Problem: Solution: You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 7 | 6 years, 7 months ago | ||
Conditional not working when checking for blank inputs
Started by: anthonyB-6
in: Toolset Professional Support
Problem: Conditionals do not appear to be working correctly when testing for blank inputs. Solution: There is currently a known issue with complex conditional parsing and large content templates in certain versions of PHP 7. You can add the following line to your wp-config.php file to get around this issue: ini_set('pcre.jit', false); |
2 | 3 | 6 years, 7 months ago | ||
Can't get sort order to work when using wpv-control
Started by: webD-3 in: Toolset Professional Support |
2 | 7 | 6 years, 7 months ago | ||
How to use the post date field in a conditional shortcode
Started by: Ido Angel
in: Toolset Professional Support
Problem: Solution: [wpv-conditional if="( '[wpv-post-date format='U']' gt 'MONTHS_FROM_NOW(-1)' )"] conditional content [/wpv-conditional] Relevant Documentation: |
2 | 4 | 6 years, 7 months ago | ||
Markers are not in the map
1
2
Started by: RolfF2342 in: Toolset Professional Support |
2 | 20 | 6 years, 7 months ago | ||
Map marker pop-up open on page load
Started by: alexd-6
in: Toolset Professioneller Support
Problem: Solution: ( function( $ ) { $( document ).bind( 'js_event_wpv_addon_maps_init_map_completed', function(){ var mapId = Object.keys(WPViews.view_addon_maps.maps)[0]; var map = WPViews.view_addon_maps.maps[mapId]; var mapsMarkers = WPViews.view_addon_maps.markers[Object.keys(WPViews.view_addon_maps.markers)[0]]; var markerId = Object.keys(mapsMarkers)[0]; var marker = mapsMarkers[Object.keys(mapsMarkers)[0]]; WPViews.view_addon_maps.infowindows[ mapId ].setContent( $('div.js-wpv-addon-maps-marker-'+markerId).html() ); WPViews.view_addon_maps.infowindows[mapId].open(map, marker); }); })( jQuery ); |
2 | 7 | 6 years, 10 months ago | ||
List of posts after filtering
Started by: anastasiaP in: Toolset Professional Support |
2 | 17 | 6 years, 11 months ago | ||
Favorite Posts By Logged In User (Add To / Remove not working properly)
1
2
Started by: Team DNK
in: Toolset Professional Support
Problem: I would like Users to be able to choose certain posts as favorites. They should also be able to remove them from favorites. Solution: Create a CRED form that allows you to modify the posts that can be favorited. Remove all the content from the CRED form and replace it with the following code: [credform class='cred-form cred-keep-original'] [wpv-conditional if="( [toolset_is_favorite id='[wpv-post-id]'] eq '1' )"] [cred_generic_field field='remove-favorite' type='hidden' class=''] { "required":0, "validate_format":0, "default":"1" } [/cred_generic_field] [/wpv-conditional] [cred_field field='form_submit' value='Favorite' urlparam='' class='x-btn x-btn-global mam'] [/credform] Add the following JavaScript to your CRED form's JS panel: jQuery(window).bind("load", function() { jQuery( "form[id^='cred_form_368']").find("input[type='submit']").val(jQuery( "input[name='remove-favorite']").length ? "Remove from Favorites" : "Add to Favorites"); } ) This code will toggle between showing "Add to Favorites" and "Remove from Favorites" as the button name. Add the following PHP to your child theme's functions.php file: add_action('cred_save_data_368', 'sda_user_favorites',10,2); function sda_user_favorites($post_id, $form_data) { if( isset($_REQUEST['remove-favorite']) ) { delete_post_meta($post_id, 'wpcf-favorites', get_current_user_id()); } else { add_post_meta($post_id, 'wpcf-favorites', get_current_user_id(), false); } } /* Favorites shotcode for use as a conditional */ add_shortcode( 'toolset_is_favorite', 'toolset_is_favorite_func'); function toolset_is_favorite_func($atts) { global $wpdb; $post_id = $atts['id']; $user_id = get_current_user_id(); $favorites = $wpdb->get_results( "SELECT * FROM wp_postmeta WHERE meta_key = 'wpcf-favorites' AND post_id = $post_id AND meta_value = $user_id LIMIT 1"); return sizeof($favorites) ? 1 : 0; } Be sure to add the toolset_is_favorite shortcode in Toolset > Settings > Frontend content > 3rd party shortcode arguments. Place the CRED form in a View of posts, or in a Content Template for these posts. Relevant Documentation: https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data |
3 | 19 | 7 years ago | ||
Displaying the posts that are connected to a custom post that is connected to a
1
2
Started by: davidR-12 in: Toolset Professional Support |
2 | 19 | 7 years ago | ||
after paginating, the div wrapping an iframe disappears
Started by: Ido Angel
in: Toolset Professional Support
Problem: Solution: You can find proposed solution with the following reply: Relevant Documentation: |
2 | 6 | 7 years ago |
Forum Topics Created
This user has not created any topics.