Passer la navigation

[Résolu] Associate "Stories" and "Albums" to "events" when adding them from the post

This support ticket is created Il y a 3 years, 9 months. 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 -

Fuseau horaire du supporter : Asia/Kolkata (GMT+05:30)

Ce sujet contient 1 reply, a 2 voix.

Dernière mise à jour par Minesh Il y a 3 years, 9 months.

Assisté par: Minesh.

Auteur
Publications
#2451703

Tell us what you are trying to do?
I am trying to create a button on an "event", which lets users add an album or a story which is automatically linked to the event. The post types are in a relationship: event << stories and event<<albums.

Is there any documentation that you are following?
No, right now I just have a view with the albums associated with the event and one with the stories and underneath a button which links to the form to add a new one. The problem is that say I am on event 1 and want to add an album to event one, when I get to the form I have to choose event one from the dropdown of events, my client would like this association to be made from the fact that I clicked on add album from Event 1. Is this poosible?

Is there a similar example that we can see?
here is an example of our current solution: lien caché

What is the link to your site?
lien caché

#2452169

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Have you checked the following Doc:
- https://toolset.com/course-lesson/selecting-parent-posts-when-using-forms-to-create-child-items/
(Section: "Creating Forms with a Parent Post Preselected")

Do you find it useful with your case?