Puntorosso
Support threads created in the last 30 days: 2
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
WooCommerce Orders with specific products
Started by: Puntorosso in: Toolset Professional Support |
2 | 2 | 3 years, 7 months ago | ||
Cannot update plugins
Started by: Puntorosso in: Toolset Professional Support |
2 | 2 | 3 years, 7 months ago | ||
Dropdown with WPML
Started by: Puntorosso in: Toolset Professional Support |
2 | 2 | 3 years, 7 months ago | ||
Refresh data with Ajax form
Started by: Puntorosso in: Toolset Professional Support |
2 | 3 | 3 years, 7 months ago | ||
Communication error
Started by: Puntorosso
in: Toolset Professional Support
Problem: The issue here is that the user is getting the message "Plugin cannot connect to toolset.com" on their backend screen 1. Go to your wordpress dashboard. Once you've done this the issue should no longer appear. |
2 | 3 | 3 years, 7 months ago | ||
Scroll to edited item in a View with Edit Post Form and redirect
Started by: Puntorosso
in: Toolset Professional Support
Problem: I have a View that shows posts and includes an Edit Post Link in each result. I have set up the Edit Post Form in a separate Content Template, and this seems to be working as expected. After editing a post by clicking the Edit Post Link and submitting the Edit Post Form, I would like to redirect back to the page containing the View of posts and scroll to the item that was just edited so it is visible in the browser. Solution: You can add an anchor tag to each item in the View's loop, then use the Forms redirection API to redirect to that page and scroll to the anchor using a URL hash with the anchor name. This could only work in a View that does not use infinite scrolling, because the results must all be present on the page when the page loads in order to scroll to the correct location. If the View uses pagination, you'll also need to calculate the correct page number to jump to the correct set of results. Anchor syntax using post ID to create unique anchor id: <a name="result-[wpv-post-id]"></a> or <a id="result-[wpv-post-id]"></a> If you add an anchor in the View loop, using the syntax shown above, you can redirect and scroll to that specific element by including the corresponding name in a URL hash like so: Example redirection API implementing this deep-linking syntax: // Redirect and scroll to the edited post in View results // Toolset support: https://toolset.com/forums/topic/scroll-to-last-used-item-in-a-view/ add_filter('cred_success_redirect', 'tssupp_deep_link_after_edit',10,3); function tssupp_deep_link_after_edit($url, $post_id, $form_data) { if ($form_data['id']==12345) return 'https://yoursite.com/page-with-view/#result-' . $post_id; return $url; } You would replace 12345 with the numeric ID of the edit post Form, and replace https://yoursite.com/page-with-view/ with the full path to the page containing the View. If there are multiple pages containing the same View, you'll need something more complex here to determine the proper redirection location. Relevant Documentation: |
2 | 3 | 3 years, 7 months ago | ||
Datepicker
Started by: Puntorosso in: Toolset Professional Support |
2 | 7 | 3 years, 7 months ago | ||
Extend Views Search
Started by: Puntorosso
in: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
2 | 3 | 3 years, 7 months ago | ||
Date time field CSS removed with ajax filter view
Started by: Puntorosso
in: Toolset Professional Support
Problem: Solution: Which you can use the add your custom CSS code and try to apply it using the jQuery. Relevant Documentation: |
2 | 3 | 3 years, 7 months ago | ||
Warning when not saved
Started by: Puntorosso
in: Toolset Professional Support
Problem: Which is the best way to warn users, if they are leaving the page or loop-item, without saving a form? Solution: It needs custom JS codes, for example below thread: https://stackoverflow.com/questions/7317273/warn-user-before-leaving-web-page-with-unsaved-changes See the answer "Long, correct answer" in above thread. Relevant Documentation: |
2 | 3 | 3 years, 7 months ago | ||
Cred in a modal
Started by: Puntorosso in: Toolset Professional Support |
2 | 3 | 3 years, 7 months ago | ||
Datepicker Filter
Started by: Puntorosso
in: Toolset Professional Support
Problem: Solution: The view's datepicker will provide the day, at 00:00:00, configure the filter to look for a value that is greater than the provided filter value(from URL param). We'll still need to look if the posts are lower than the next day(22/12/2022 00:00:00). |
2 | 5 | 3 years, 7 months ago | ||
NOW button in a form
Started by: Puntorosso
in: Toolset Professional Support
Problem: Is it possible to add a button (or link) to a form, which set the date/time field to the NOW value? Solution: There isn't such kind of built-in feature within Toolset Forms plugin, As a workaround, you can setup the default value of date field inputs as timestamp value of now, for example: https://toolset.com/forums/topic/now-button-in-a-form/#post-2057383 Relevant Documentation: https://developer.wordpress.org/reference/functions/current_time/ |
2 | 3 | 3 years, 7 months ago | ||
wpt_field_option alternative
Started by: Puntorosso
in: Toolset Professional Support
Problem: Which is the future-safe alternative of filter hook "wpt_field_options"? Solution: There isn't better alternation currently, but if there is new filter API hook in the future, we will provide workaround/example in our document: Relevant Documentation: https://toolset.com/documentation/programmer-reference/types-api-filters/#wpt_field_options |
2 | 3 | 3 years, 7 months ago | ||
View filtered by url parameter
Started by: Puntorosso in: Toolset Professional Support |
2 | 2 | 3 years, 8 months ago |