I have a template partial within another template partial. And that seems to work.

Is this a coincidence or correctly so?

If it is correct, where to stop with such a nesting? A partial that has a partial in a partial?

Thanks for some clarification.

1 Answer 1


The amount of nesting possible is probably limited by your php environment. I created a recursive template partial called tp_recurse containing this code:

X {tp_recurse}

If I include it in a template the host for the EE instance appears to crash, but takes a while to do so: which suggests that the recursion is executing - which in turn suggests there is scope to nest template partials for quite a few levels I would expect.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.