Share » Forums » Setup & design » recursion in template possible?

recursion in template possible?

recursion in template possible?

Wednesday 12 October 2005 2:17:15 am - 4 replies

Modified on Monday 17 October 2005 3:10:13 am by Michael D.

Author Message

Alexandre Abric

Wednesday 12 October 2005 6:53:48 am

Hi,

That's strange : I used the same template with eZ Publish 3.6.1 and I got the expected result.

0+ 1+ 2+ 3+ 4+ 5+ 5- 4- 3- 2- 1- 0-

What version did you use ?

Michael D.

Wednesday 12 October 2005 7:16:17 am

Sorry, I forgot to mention: It's eZ publish 3.6.1 svn rev. 12063.

I'm including it in the pagelayout.tpl, could that make a difference?
It's the first include and there is no other var named "test" in the pagelayout.tpl.

Settings are:
TemplateCompile=enabled
ViewCaching=disabled
TemplateCache=enabled

The rest is default or not listed because I don't think they are important in this matter. If some are, please let me know and I'll post them here.

Alexandre Abric

Monday 17 October 2005 5:27:20 am

I think there should be a difference if you included the code in the pagelayout.tpl

For the test, I created a folder called "TEST RECURSION", created an override for the full view of the node, and added the code you provided.

Michael D.

Monday 17 October 2005 6:08:32 am

I tried your way with the node override but I'm still getting the same (undesirable) result.

I'll try to make a clean ez 3.6 install and test it there as well as on another system.

Hopefully this will bring me closer to the solution.
Since your response indicates this, there has to be a way to make it work.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu