Skip Navigation

[Resolved] Split: Table field

This support ticket is created 6 years, 1 month 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 8 replies, has 3 voices.

Last updated by Minesh 6 years, 1 month ago.

Assisted by: Minesh.

Author
Posts
#1160498

Thanks - That was a big help. I was able to create a new view for another repeating fields (Nous Rappelle A), the front end shows the table but not the entries. Also every time I try to add a "field group title" it is not saved after updating the post.
Thanks

#1160504

Hello,

I can get your website credentials in previous thread:
https://toolset.com/forums/topic/table-field/#post-1158806

I assume we are talking about the repeatable field groups "A - Aleph - 1 - Principe créatif"
hidden link

You are going to display child repeatable field groups "Source Aleph" items.

If it is, as I mentioned in your previous thread:
https://toolset.com/forums/topic/table-field/#post-1152987
repeatable field group, it is based on one-to-many relationship

So it works like this
- Mot A
-- A - Aleph - 1 - Principe créatif 1
---- Source Aleph 12
---- Source Aleph 34
-- A - Aleph - 1 - Principe créatif 2
---- Source Aleph 56
---- Source Aleph 78
....

In your case it needs a nested view, for example:

1) Parent post view,
- query "A - Aleph - 1 - Principe créatif" posts,
- filter by:
Select items from the "A - Aleph - 1 - Principe créatif" group that are related to the Post where this View is shown.
- in the view's loop, display below child post view

2) Child post view
- query "Source Aleph" posts,
- filter by:
Select items from the "Source Aleph" group that are a related to the current post in the loop.
Notice, here you need to use option "current post in the loop", since it depends on the post from parent post view
- And in the view's loop, display fields of Source Aleph" post type

#1161309
npus-rappelle-mots.jpg

Hi - I uploaded a file that describe my issue. How can I make the nested view show in their corresponding fields inside the table? They are from the same Post Fields Group.
I tried to follow your instructions but couldn’t locate how to “in the view's loop, display below child post view”.
Thanks again.
Same credentials as before.

#1161340

No, Since it is a nested view, there isn't such kind of exact features as your screenshot, but it can be still be able display as HTML table, and the "Sortby" feature of HTML table header won't work as expected, please let me know if you need assistance to setup a demo for you.

And “in the view's loop" means:
When you edit an view, in section "Loop Editor", within shortcodes:
<wpv-loop> ... </wpv-loop>

#1161457
Screen Shot 2018-12-07 at 2.06.55 AM.jpg

A demo would be great thank you. I just need to display the repeating fields in a table. (image attached). Thanks

#1161468
Screen Shot 2018-12-07 at 2.39.48 AM.jpg

If this help, attached is aa screenshot of the data how they are setup in an xls sheet. We'd like to present them in a similar way . Thanks

#1162676
Screen Shot 2018-12-09 at 8.46.25 PM.jpg

Thanks Luo, I figured it out. No need for s demo. two quick questions.
#1 I setup a new Post Fields Group. No repeating fields on WYSIWYG fields but I can make it doesn't show on the 'Mots' admin side.
Settings for Type de Documents
Name (required)
"Type de Documents"
Description Add description
Appears on
Post Type(s): Mots
Any clue why?

#2 - Every time I add a "Field Group Title" it's not saved.
Thanks

Edit

#1162685

Issue #1 solved - Disregard. Only #2

New threads created by Minesh and linked to this one are listed below:

https://toolset.com/forums/topic/split-split-table-field-field-group-title-its-not-saved/

#1162710

Minesh
Supporter

Languages: English (English )

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

I'm happy to know that your original issue #2 is resolved. Please feel free to resolve this ticket and we will continue with your new question with the brand new split ticket.