Skip Navigation

[Resolved] Displaying table of events created using repeating fields

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 4 replies, has 2 voices.

Last updated by Minesh 1 year, 4 months ago.

Assisted by: Minesh.

Author
Posts
#2679652

*Tell us what you are trying to do?*

I've taken on the maintenance of a site which was created using Toolset views (not blocks) and Elementor Pro.

This site shows a number of Walking Tours. Each Walking Tour is a custom post, and walks for the public have a series of dates and times, which are represented as repeating fields in the post field group shown at
hidden link. There are multiple walks, and each walk may have multiple dates.

I'm trying to create a summary of walks. It should look something like
hidden link

The format here looks ok, but some of the events have multiple dates, and the current view only shows the first date for each walk.

What I'd like to do is to construct this view around the repeating fields - so if the repeating field appeared for three dates, then the walk would appear three times - and all the walks would be sorted in date format.

My first question : is it possible to do this using Toolset?

The second question is the answer to the first is yes, is how do I do it..

The view I'm currently using is at
hidden link

My first attempt is to tick Date and Time of Tour Field (the repeating field), and not tick 'Walking Tour'. If you do this you get a message
"Do not forget to add a filter by post relationship or repeatable fields group owner and select the right owner for the groups that you want to display."

At this point I'm not sure what to do.

*Is there any documentation that you are following?*

I'm trying to find ideas in your documentation on line, but have not found anything that shows this.

What is the link to your site?
hidden link
other links require admin access - happy to provide that but need an email and let you have a password.

#2679745

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

When you add repeating field group - it works as a one to many post relationship internally. So every entry you add to repeating field group will work as a child post (many) item.

Please check the following Doc that shows the information about how you can display the related child posts:
- https://toolset.com/documentation/legacy-features/views-plugin/displaying-related-child-posts/

What if you create a view for your repeating field group and display all related parent field as well as the repeating field group item field from this view.

If you can share admin access details and tell me how exactly you want to display repeating field group items I will be able to guide you in the right direciton.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2680426

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I checked the following view:
- hidden link

I can see the repeating field group "Date and Time of Tour Field"

But when I checked one of the post type "Walking Tours" post:
- hidden link

I do not see the repeating field group "Date and Time of Tour Field". Can you please tell me where I can see the repeating field group "Date and Time of Tour Field"?

Please note that repeating field (multiple instance field) and repeating field group (multiple fields attached as child post to the post you are add/edit with one to many post relationship) both are different.

#2680451

Its Date/Time of Tour, part of the Field Group for Walking Tours.

hidden link
works fine (at least if content template set to none, and no options selected under Tour Types. It produces the full page walking tour.

Date/Time of Tour is a repeating field part of the Field Group for Walking Tours - see
hidden link

I'm trying to create a summary page that will show the stock of walks.

Regards

Dave Brown

#2680560

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

View's loop can work on repeating field group not repeating field.

Rather duplicating the same post title for repeating field - is it Ok to display post related fields like (title, image, etc..etc..) once and below that all the repeating field dates?

#2681074

No, really looking for the ability to list every event in date order, even if each event has multiple sets of dates.

I'll close this for the moment. I think it looks like either I try and separate out dates into a separate customised group (but in this case, not sure how to get clients to update them using the toolset forms); or try access the API to replicate each multiple set of dates event into multiple events. I'll probably do this manually for the moment.

Thanks anyway for the help.