Skip Navigation

[Resolved] View a lis of element in publish form

This thread is resolved. Here is a description of the problem and solution.

Problem:
Essentially the issue here is that the client wanted to list out his parent posts on his child post when Creating a child.

Solution:

Using the example of Cars and Motors

This is possible if you allow the Motor to be the parent of the car.

So when you are creating a Car you will get a list of the Motors that you have previously created as a dropdown for you to select.

To setup the post relationship just go to the CPT and edit in in our Types plugin and scroll down to the Relationships tab.

This support ticket is created 7 years 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.

Our next available supporter will start replying to tickets in about 2.43 hours from now. Thank you for your understanding.

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

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by thibautF 7 years ago.

Assisted by: Shane.

Author
Posts
#593486

Hello,

I created 2 CPT (to be simple, i use an example) :
1. Car
2. Motor

I want to add in Motor, all motor you can buy...
In this CPT, you have Name ans all specification for the motor.
So you have a list of motor with Motor's Name in a Custom Field (and other things) and Brand in taxonomy

Can i create a list (like dropdown list) with all motor's CPT created to select which motor i bring in car's CPT ?

(sorry, it's very difficult to me because of my poor english...)

#593496

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Thank you for contacting our support forum.

This is possible if you allow the Motor to be the parent of the car.

So when you are creating a Car you will get a list of the Motors that you have previously created as a dropdown for you to select.

To setup the post relationship just go to the CPT and edit in in our Types plugin and scroll down to the Relationships tab.

Please let me know if this helps.
Thanks,
Shane

#593504

I'm not sure to understand. I will try.

Can i do that for ten elements ?
On my example : motor, Wheeler, color, etc ? And After, Can i create à form that user configure himself his car whith a combinaison of all elements ?

#593510

OK it works !!!!

So now, i would like that if user don't find his element (motor, wheel, etc), he can add his element himself on the same form...

Can we do that ?

#593525

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Happy to see that it works but no they wouldn't be able to add it from the child form.

This would only be possible with the use of taxonomies for them to be able to add it if its not there.

Thanks,
Shane

#594093

Thx for help