Hi guys, have you had any success updating or reloading the Bricks Builder Query based on custom events?
I am basically building a Client Portal with Tickets right now.
I’ve already implemented ACF Relationships for the Tickets and Comments.
I am using a custom CPT for the comments called “Ticket-Comments” that get assigned to the ticket by a custom metafield (_belongs_to_ticket → post_id of ticket it belongs to).
When a user submits a Ticket Comment, the comment gets created automatically using Bricksforge Pro Forms.
What i’d need now is to check if a new post of the post type ticket-comments is created for the current ticket (single post page). If so → the Bricks Query that fetches the comments should get updated/reloaded (or better: just load the new comments and append them to the tree).
I can’t use websockets on my hosting, and i do not want to use longpulling for various reasons. is there a way to do this (performantly) with custom PHP/JS ?
Thanks in advance!