Friday 15 October 2010 12:43:15 am
Thanks. I took your example and implemented it in my template and it works to depth 2. What I wanted to avoid was to create manual loops. Right now the code manually loops through depth 2 and prints it. But if I want to show depth 3 inside of depth 2 I need to do another foreach, and for depth 3 inside of depth 2 I need to add another one. This probably works if you know you have same depths to show in every case. But in this case the depth can be dynamic and infinite, so it have to automcatically loop 1 or 50 depths. Is there a way to do that without adding a new foreach and instead letting the template code automatically print all the child nodes in the right order? Best regards, Håkan
|