discuss.answer
-
☆ A M B ☆
- 24,524 Posts
That's because you need to use placeholders in your tpl [[+longtitle]]
The resource field tag, [[*longtitle]] will pull in the longtitle for the current resource...the one that has the getResources snippet call on it.
GetResources loops through the child resources, setting the placeholders for each one, and applying them to the tpl chunk as it processes each one in turn.