We have some Nav templates which go up the tree and look either for a populated field or slot in nav items or their landing pages, then stopping and displaying them when found.
Great until the error message “Max calling depth of 20 was exceeded” happens.
Is it possible to override this value of 20? If we went to 30 that would probably suffice. I’ve tried a couple of things, like calling the template afresh and passing the current node but then it detects a possible assembly loop.
I’ve temporarily made the recursive lookup stop at a certain number and then jump back to the root and stop.