Skip Navigation

[Resolved] relationship

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/Karachi (GMT+05:00)

This topic contains 5 replies, has 3 voices.

Last updated by Waqar 1 year, 3 months ago.

Assisted by: Waqar.

Author
Posts
#2635587
image-2.jpg
image-1.jpg

Home » Course » WordPress Directory and Classifieds Sites » Using Post Relationships on Directory Sites » How to set up Post Relationships in WordPress

Hello support team,

I am learning relationships now.
Please see the attached file.
Here are the questions:
In the toolset manual, when bridging speaker and event, custom field talks selects "period, room, talk title, language" from new fields respectively. I think that these items must be registered in advance for these words to appear in the new field. I didn't know when and where it was set. Please support me.

Regards,
Yoshihiko

#2635629

Nigel
Supporter

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

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

Hi there

In your screenshots of the Add New Field dialog from the wizard to create a Relationship, in one it is offering already existing fields from other custom field groups that can be added to the relationship. But if you want to add new fields then you would use the "Choose from the default fields" button, which goes to your second screenshot.

There, instead of showing actual existing fields, because you are creating new fields it offers the different types of fields you can create (e.g. select fields, radio fields, email fields, image fields, etc.).

In your case, if you are creating new fields then this is where you can create them. I imagine you would use a Single Line text field to create the "talk title" field, for example.

#2635673
screencapture-business-upcwd-wp-admin-admin-php-2023-08-21-21_34_36.png

Dear Nigel,

Thank you for your contact.
Your support has led me to think:
・In order to create custom fields such as duration, room, talk title, language, select A (single line) in the default field to create duration, room, talk title, ◎ (Radio button) to create a language.
The result is as attached.

If this setting method is good, it means that creating custom fields (duration, room, talk title, language) for bridging in advance is a more important factor.
Is my understanding as above correct?

Regards,
Yoshihiko

#2636021

Hi Yoshihiko,

Thanks for writing back.

I feel there is a difference between your understanding and what Nigel explained. I'll explain it again in a slightly different way.

The default and basic field types will always remain the same, and the list is available in this documentation link:
https://toolset.com/documentation/customizing-sites-using-php/functions/

You can't add new field types to these existing field types.

However, for convenience, when you're editing a field group connected to a one-to-many relationship (as shown in your recent screenshot), you'll see the option to choose from the already registered custom fields, so that you don't have to add them again.

This doesn't mean that these existing fields will also be available when you're adding fields into regular custom field groups.

I hope this makes it more clear.

regards,
Waqar

#2636089
q-1.jpg

Dear waqar,

Thank you for contacting me.

I would like to ask the same question from a different angle. I think my question is not getting across well. Please see the attached file. I have specifically addressed my question there.

Regards,

Yoshihiko

#2636487

Thank you for sharing this screenshot.

Yes, now I can confirm that your understanding is correct. For the fields to be available for selection as existing fields, they need to be set/registered, in some other custom field group.

You're welcome to mark this ticket as resolved and start a new one for each new question or concern.

#2636503

Dear waqar,

Thanks for your answer.
I appreciate your understanding of the intent of my question.
Also, my question has been resolved.
Thank you very much.

Warm regards,

Yoshhihiko