Skip Navigation

[Resolved] Associate "Stories" and "Albums" to "events" when adding them from the post

This support ticket is created 2 years, 3 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 1 reply, has 2 voices.

Last updated by Minesh 2 years, 3 months ago.

Assisted by: Minesh.

Author
Posts
#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: hidden link

What is the link to your site?
hidden link

#2452169

Minesh
Supporter

Languages: English (English )

Timezone: 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?