Hello,
one simple question: is it possible to call a different chunk from within a chunk?
Chunk:
"<p>{{contentchunk}}</p>"
This is a massively simplified example. In fact, I want to use it with wayfinder. I need some row templates, and the "here versions" of the rows need additional Javascript.
Here Template:
"<script>...</script>
{{rowTpl}}"
Is this possible?
-
☆ A M B ☆
- 2,213 Posts
I don’t know if it will work, but it should be easy enough to test. Granted you could include the JS code in the wayfinder chunk and skip calling an external chunk which simplifies things.
AMDbuilder
Well, i have explained unclearly. I have already tested it like I posted above. It did not work. That’s why I posted my question. I meant: Is there a way to use chunks in a chunk?
A chunk within a chunk can work (I’ve used it before), but when I see your example, I suspect you call a chunk that’s meant to be a template for Wayfinder, right?
I mean, you’ll probably have some placeholders of Wayfinder in there, and I’m not sure it can work that way.