We need to create a list of companies with the list of persons belonging to them in an indented sublist, i.e.
STUDIO 1
- Architect 1a
- Architect 1b
STUDIO 2
- Architect 2a
- Architect2b
- Architect2c
We already had that list+sublist already working in the following page: hidden link
but after maybe n update of the plugins the content is not working anymore as expected because the parent item is repeating for every single child item, as follows:
STUDIO 1
- Architect 1a
STUDIO 1
- Architect 1b
STUDIO 2
- Architect 2a
STUDIO 2
- Architect2b
STUDIO 2
- Architect2c
Is there a way to solve this issue and restore the backward working view?
Hi Shane,
I can give you an admin acces but I cannot do a backup of the site so I cannot check the above fields.
Please let me know if we can send you the access credentials, the only thing is that if you do some changes they will go online and so we ask you to be aware of that in case of problems.
Franco
Not sure how you got this to work previously but these views I assume should be displaying relationship data correct?
Meaning View 1 is listing out the Parent and view 2 will be listing out the children.
Based on what I see both views won't be doing this. A restructure of the view is needed in order to do achieve this. Secondly given that you had updated from from a previous version of Types you will need to run the relationship migrations.
I highly recommend doing this on a test site first as this will bring your relationship up to the new format that we are using which makes it easier to use.
To do this go to Toolset -> Relationships and then run the migration.
Hi Shane,
we previously created that view with the help of your colleague Christian Cox, the thread is at this link: https://toolset.com/forums/topic/nested-posts-relationships-views/
Unfortunately at the end of ht thread he wrote that he made some code adjustments but he didn't describe that so we cannot have trace of it.
And also the page is not available anymore online because the site have been migrated to a new domain.
I don't know if it is possible to transfer this thread to Christian just to see if he remember something, but anyway if you can resume a solution from that chat please let me know.
Thanks
Franco
Alot of things have changed since Christian worked on this solution with you.
Also quite a few things have changed for the relationships that makes it much easier. The problem is that your plugins are updated but not all of the old methods will carry over for your plugin.
So I will recommend that you setup a test site where you can safely run the relationship migration as we will need to recreate the views in order to display the items how you want it based on your first thread.
Thanks,
Shane
The topic ‘[Closed] Ordering child elements within a list of parent items’ is closed to new replies.