Skip Navigation

[Resolved] Broadcasting Repeatable Field Group Data

This support ticket is created 4 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 5 replies, has 3 voices.

Last updated by perryL 4 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#1793373

Hi there,

I'm working with a Multisite configuration and are using Broadcast to push our posts from one "parent" site to its children. When I broadcast a post, its custom fields and taxonomy data broadcast seamlessly. But when I broadcast a post with a custom repeatable field group, the data does not get broadcasted to the other sites.

My example:

I have a post type called Community. It has custom fields for the community's Page Description and its Mission and Vision. It also has a repeatable field group called Community Members. I entered some sample data. The Page Description and Mission and Vision data broadcast perfectly. The Community Members don't broadcast at all.

Do you have any insight or potential fixes or suggestions for this problem?

For this particular case, I don't really want to turn the repeatable field group into its own post type with a relationship to Community Members.

#1794161

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

" I don't really want to turn the repeatable field group into its own post type with a relationship to Community Members."

That's actually how repeatable field groups are implemented under the hood, each instance of a group of fields is a child post of the post the field group belongs to.

I don't know how your Broadcast functionality is implemented, but that information might help you understand why the RFGs don't "broadcast" in the way you would expect.

#1794767

Can you help me find the field names of the fields in my Intermediary Posts? The ones that specify the posts that are related by each intermediary post?

#1794889

Hello - I could use some help getting toolset post relationships to work on my multisite install.

I am using broadcast to manage syndication across sites. Right now, I have the full version of the broadcast plugin with all add ons - including the toolset-specific addons.

I can broadcast the custom post types and fields etc. all fine.

But I am having some trouble with post relationships.

You explained that the toolset post relationships use an "intermediary post” - which is its own custom post type - that carries the information about the related posts.

I can successfully broadcast the intermediary posts by checking 'show_ui' and managing from the admin dashboard. However, the broadcasted intermediary posts do not contain the field or data that references the related posts. The broadcasted intermediary posts (on the destination sites) only contain the title, slug, etc.

Could you provide some information on how to identify the specific fields we want to broadcast for these intermediary posts ?

We are able to do some custom development to support the desired functionality but are not sure how much of this has been addressed already.

Thanks very much for your help

#1795201

Hello,

Toolset Types plugin is using custom database tables to store the post type relationships, for example you can use some Mysql Tools(PHPmyadmin) to open your database, there are two tables for storing the post type relationships and associations:
- wp_toolset_associations
- wp_toolset_relationships

Since Types 3.0 we introduce new relationship - you should check the following blog post:
=> https://toolset.com/2018/05/toolset-post-relationships-release/

We also offer new post-relationship API :
=> https://toolset.com/documentation/customizing-sites-using-php/post-relationships-api/

#1830085

I have been trying to address with no luck so far.

For some reason, there are two toolset associations tables: wp_toolset_associations and wp_toolset_associations_old on my site hidden link
This is a dev site created just to address this issue.

For example, post 1896 (Tam webinar 22) hidden link has its associations stored in the _old table.

The 'Broadcast' plugin is using the _associations table to look up the relationships, but this table doesn't seem to be used by Types on my site.

I am able to do custom development to address but am trying to understand how Toolset has these organized.

Can you help me understand what's going on with the two associations tables ? and if they can be merged? (I didn't manage to find any tools / settings to merge the tables in the Toolset WP admin UI)