I never saw thatUpdate after Brad's comment since the with
attribute in apart seems to be ok ElementCriteriaModel
and after several searches I could not find any use of- by the way thank you, it is another good example that attribute in craft (Please correct me if I'm wrong) butyou never stop learning.
I never saw that the rest should be fine.with
attribute in a ElementCriteriaModel
and after several searches I could not find any use of that attribute in craft (Please correct me if I'm wrong)
Instead of the .limit(1)
you could do the following
{% set content = entry.contentBuilder.type('copy').first() %}
The getPage()
function only exists in the class RichTextData
maybe you have a different fieldType? Otherwise you could just do {{ content.copy }}
as well to display the text in that field.
All in all it would be a good idea to tell us a little bit more about your goal, your fields and your errors. Your description is a little bit insufficient in my opinion