Skip Navigation

[Resolved] Post relationship don't appear in Types GUI

This support ticket is created 6 years, 9 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 9 replies, has 2 voices.

Last updated by Max 6 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#623260

Max
2018-03-08_12-54-00.png
2018-03-08_12-52-33.png

I am trying to: display data from parent (types relationship beta)

Link to a page where the issue can be seen:

I expected to see:
https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/#displaying-one-related-item-parent

Instead, I got:

#623274

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Could you please share more details about your post relationship structure and where you are trying to display parent post information?

#623355

Max

I'm testing the beta version of the plugin..
I'm trying to query the parents fields.
Please correct me if i wrong
[types field='my-field' format='FIELD_VALUE' item='@gazeta-firma.parent'][/types]
This does not work

where gazeta-firma - slug of relationship field

#623591

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Yes - I'm able to reproduce the issue. I'll escalate it to our next level support for further debug.

I'll get in touch with you as soon as I know more.

#623614

Max

Thank you Minesh

#623648

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - here is the information I got:

For example - you setup M2M relationship with post and page post type where:
- page-ID 1 is related to post-ID 2,3,4,5
- And post-ID 2, is related to Page-ID 1,8,9,13

Due to this relationship its not possible to identify WHAT post information exactly we need to display.

So, this needs a View to display related post.

Following Doc May help you:
=> https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/

Could you please confirm by following above Doc do you able to display your desired field?

#623658

Max
toolset-post-relationships-displaying-one-parent-item-3.jpg

Minesh,

I followed this documentation, as I wrote in my first post.
I do not have such settings as in the screenshot.

Also there are no settings regarding post reference field
https://toolset.com/forums/topic/shortcode-for-post-reference-field/

Is it because the betas? So it should be?//

#623662

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - I can see the post reference field is available to add with custom field group with latest betas.

Could you please check and confirm?

See following screenshot:
hidden link

With Betas of M2M there is lot new options added and we are working hard to make it stable product. In your case I need to know your current setup.

Could you please send me problem URL and tell me what you want to display exactly at what page?

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).

I have set the next reply to private which means only you and I have access to it.

#624204

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Thank you for sharing access details.

The good news is we have published new Types Beta version 2.3-b5. Could you please update Types plugin to this latest Beta version and check if that help you to resolve your issue.

If no:
Well - I think still you missed to share problem URL with me and what exactly you want to output what. Could you please share this required information and I'm happy to debug this issue further.

#624266

Max

It seems the problem is solved. Thank you for hard and efficient work.