Hello,
In Gutenberg, when using the single field block, I can insert the post title of a related PT (Klient) -> OK
When using the fields and text block, the related PT shows up with custom fields (Geburtstag), but post title and post content are missing. See screenshots. I need to access the post title. I want to write:
Klient: Marianita Zambula (patient: name; where name is the post title of the Klient PT).
Tell us what you are trying to do? on the content template for cases I want to show the name of the patient (post title of a related CPT). Model: One patient (Klient) can have many cases (Fallverlauf).
Is there a similar example that we can see? hidden link
I can insert the name of the patient (Marianita Zambula) by using a single field.
What is the link to your site? hidden link
Your answer will be: please use a view. My response is: this is very user unfriendly. To be successful with Toolset as the awesome tool that it is, the approach should be the same every time. Even the different approach between single field block and fields and text block is VERY confusing for the average user. In the first case you use drop downs, in the second case a list to choose a field from (I think this is easier).
Unless I'm completely mistaken, you may consider sending this to your product manager to see if this can be included?
From your screenshots it seems like you are not quite looking in the right place, but that something is nevertheless wrong.
The Fields and Text block is a bit of a bridge between legacy Views and the new Blocks interface and so the UI includes the old Fields and Views button for inserting dynamic fields.
But when you press that button (the little icon) the UI that opens up (your second screenshot) should show Post Title and other standard fields first, at the top (my screenshot).
I've never seen them missing as they appear to be in your screenshot (unless you had scrolled down to find the Klient fields and I simply can't see them).
When they are visible, if you choose to insert the Post Title the resulting dialog (second screenshot) includes a Post selection tab where you can specify the source for the title, in this case it would be from a related post, where you specify the relationship.
If you are unable to see that then we would need to go through some basic steps to see if we can isolate why not.
You should check whether there are any JS errors in the console.
Check your debug.log to see if there are any relevant PHP errors or notices.
Deactivate all non-Toolset plugins to see whether something else is conflicting with the process, and switch to a default theme such as twentytwenty.