Passer la navigation

[Résolu] Repetable group’s text field doesn’t show, file field does

This support ticket is created Il y a 1 week, 1 day. 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 8 réponses, a 1 voix.

Dernière mise à jour par Minesh Il y a 3 days, 18 hours.

Assisté par: Minesh.

Auteur
Publications
#2863397

I have this shortcode in classic view:

[types field='raportin-aikavali'][/types] [types field='raportti' title='Katso raportti'][/types]

Both fields are in same repetable group, the raportin-aikavali is text field and raportti is file field. File link shows, but text doesn't.

#2863406

Minesh
Supporter

Les langues: Anglais (English )

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

Hello. Thank you for contacting the Toolset support.

When you say file link shows but text does not - what text do you mean?

Can I have problem URL and admin access details.

*** 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.

#2863427

Minesh
Supporter

Les langues: Anglais (English )

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

Can you please share the problem URL where you added the view.

#2863428

One of them (as in screenshot) is this: URL

#2863642

Minesh
Supporter

Les langues: Anglais (English )

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

I need to understand your post type structure first.

Why you assigned the following view to post type "Omavalvontasuunnitelmat" and repeating field group?
- URL

I see you have many posts added with the same title:
- URL

And when I edit any of the post it has the repeating field group.

On this page: URL
How to identify and what are the conditions that tells that we need to display what post type and what repeataing field group.

#2863662

The "parent" cp - let's call it plan - has these children - let's call them report (the repeating field group). All the plans are different even they are all named the same way (client has done this for some reason). The goal is to show only the newest plan and all the reports. The filtering is done with taxonomy "yksikko". Odd thing here is the fact that the file shows, but the text field doesn't.

#2863674

Minesh
Supporter

Les langues: Anglais (English )

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

Can you just tell me on the following page:
- URL

What posts you want to display and why or how they are connected. What posts you want to display and with what you want to filter it.

What view or content template you are using to display it.

I see - You set your view to display posts from "Omavalvontasuunnitelmat" post type as well as repeating field group:
- URL

You should not do that. At a time it should display "Omavalvontasuunnitelmat" post and to display the repeating field group items we need another view.

if you can tell me with above page what posts should be displyed and how to filter or what is the condition, once I check that I will be able to guide you in the right direction.

#2863721

Ok, I created nested view and got it working. Please remove this chat, because it has real urls or terms - or hide them. Thank you.

#2863974

Minesh
Supporter

Les langues: Anglais (English )

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

Ok I've removed the URLs. You're welcome to mark resolve this ticket.