Forums / Developer / $node.subtree question

$node.subtree question

Author Message

Georg Franz

Thursday 13 November 2003 5:00:36 am

Hi,

I've noticed that template var $node.subtree is available. That's a fine idea and very usefull.

I've checked {$node.subtree|attribute(show,2)} and noticed that each item has also it's whole subtree.

e.g. $node.subtree.0.subtree
e.g. $node.subtree.0.subtree.0 (and so on ...)

I am currently building a very large site. My question: If my content tree reaches a depth of e.g. 20 what will happens with the $node.subtree? If a user view my main node and the cache is empty will the system generates the $node.subtree var and put it and its subtrees (and so on) in the memory?

Suggestion:
I don't need the subtree of a subtree as default. If I want it I can use the fetch-function.

Kind regards,
Emil.

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004