I am looking into whether it is possible to have a content type nested within another content type. An example use case here would be
Having a 'Region' content type that just has a title, users can go in and create instances of 'Region'
I have a second content type that represents a person, and would like to reference the 'Region' content type that they are associated with. This way if I have multiple things that have a 'Region' they can all pull from the same data source.
That makes sense, I've got that structure created in my plone instance now, I think my next question with this 'data-model' is if I have a bunch of 'Person' content types already created, when I create a new region can I populate all of the existing 'Person' contents into a select so I can associated them with the new region?
This kind of illustrates what I'm looking for
e.g.
Existing Child List
ChildOne
ChildTwo
Container
ChildOne <- Referencing the ChildOne in an Existing Child List
ChildTwo <- Referencing the ChildTwo in an Existing Child List
Is that a supported use case or is it purely a
Container
ChildOne
ChildTwo
ChildThree
Container
ChildFour <- 'Copy' of ChildOne but is a separate instance
<div class="card" style="width: 18rem;">
<div class="card-body">
<h5 class="card-title" tal:content="context/name">Article Author: {context/name}</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="card-link">Card link</a>
<a href="#" class="card-link">Another link</a>
</div>
</div>
That looks ok to me, although I would advise to not use path-statements. Also your code does not account for broken relations (i.e. when python: context.authors[0].to_object is None.