I have two pubtypes which are related to each other. The "parent" pubtype displays the selected publication from the "child" pubtype. When viewing the child publications, the parent pubs they are related to are not shown (set to hidden in the pubtype).
From a parent publication, I want to display all of the fields from the related child publication, but not all together in a list. That is, I need to display each child field in a different area of the parent full template.
So in the parent's full template, the structure would be something like this:
- some code
- child pub field 'title'
- more code
- child pub field 'description'
- more code
- child pub field 'notes'
- more code
I hope that makes some sense. With some help from Darryl, I know how to display all of the child fields at once based on a special template created for the child using the createFilter and inlinePubList plugins. However, that places all of the child fields in the parent wherever I place the calls to those plugins -- I need to extract those fields one at a time throughout the parent's full template.
My initial thought is to somehow pull them all into an array in the parent's full template and then display them as needed. However, I'm not sure how to do that or if it is even the proper way to do it.
Thanks!!
