raffyC
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 |
|---|---|---|---|---|---|
|
show a relationship field in child loop view in parent post
Started by: raffyC in: Toolset Professional Support |
|
1 | 13 | 2 months, 3 weeks ago | |
|
unable to retrieve relationship field in toolset_association_created
Started by: raffyC
in: Toolset Professional Support
Problem: When using the toolset_association_created hook to retrieve a relationship field value from the intermediary post, the custom field returned an empty value, even though the value was confirmed to exist in the database. The field was stored on the intermediary post, and get_post_meta() was being called inside the hook, but it returned blank. Solution: The issue was caused by timing. At the moment toolset_association_created fires, the intermediary post meta may not yet be fully saved and available for retrieval. To resolve this, the meta retrieval was delayed until after Toolset completed saving the relationship. This was achieved by scheduling a secondary action using wp_schedule_single_event() and retrieving the field value in a later hook. Confirmed the intermediary post exists and has the expected post type and status. Verified the correct meta key (wpcf-donor-scholar-relationship-status) is stored on the intermediary post. Ensured the field is indeed saved on the intermediary (relationship fields are not stored on parent/child posts). Relevant Documentation: https://toolset.com/documentation/customizing-sites-using-php/post-relationships-api/ |
|
1 | 3 | 3 months ago | |
|
How to show repeatable child form as form not as link
Started by: raffyC in: Toolset Professional Support |
|
1 | 5 | 3 months ago | |
|
Date picker issue
Started by: raffyC
in: Toolset Professional Support
Problem: The date picker was displaying a date one day earlier than the date selected in the calendar (e.g., selecting Feb 4 showed Feb 3 in the input field), even though the WordPress timezone was set correctly. The issue occurred both on localhost and on the production site. Solution: The issue was caused by a global date_default_timezone_set('Asia/Manila') call introduced by the QuickBooks PHP SDK. Setting the PHP default timezone to a non-UTC value affected the JavaScript/PHP date handling used by the date picker, resulting in an off-by-one-day shift. Removing this call or keeping the default timezone as UTC resolved the issue and restored correct date selection behavior. |
|
1 | 3 | 3 months, 1 week ago | |
|
select placeholder and no items found in view
Started by: raffyC in: Toolset Professional Support |
|
1 | 11 | 3 months, 2 weeks ago | |
|
How to add an intermediary posts column in Table View?
Started by: raffyC in: Toolset Professional Support |
|
1 | 7 | 3 months, 3 weeks ago | |
|
API for creating custom post
Started by: raffyC in: Toolset Professional Support |
|
1 | 4 | 4 months ago | |
|
How to add/delete connected posts in many to many relationship on frontend
Started by: raffyC
in: Toolset Professional Support
Problem: I have a many-to-many Student–Donor relationship. On the Donor template, I can list linked Students, but I need to add an existing Student to the Donor and also remove a linked Student on the front end. The disconnect option didn’t appear in my Toolset Forms, so I wasn’t sure how to add a Remove link. Solution: Created a Relationship Form to connect existing Students to the current Donor. For disconnecting, used the shortcode [cred-delete-relationship] inside the View loop of Students. The issue was finally resolved after removing a duplicate many-to-many relationship, and the following shortcode worked: Relevant Documentation: https://toolset.com/course-lesson/front-end-relationship-forms-for-connecting-posts/ |
|
1 | 5 | 7 months, 1 week ago |