I'm new in SS development, however I get some futures to work. Now I have a huge problem with SiteTree.
In CMS Admin I have a page tree like this:
HomePage -> News ->
>2008 -> (~500 news)
>2007 -> (~200 news)
Problem with this is as follow:
1. Very load admin UI loading time (~2minutes)
2. Expand of NEWS folder takes ~3-4 min, during this process ale sub-content is loaded (every news form folder 2008 and 2007) and it is not used.
3. Expand of eg NEWS - >2008 folder loads the same information as previously, and it takes another 2-3 min.
PROBLEM is defined as the SS loads recursively all the content is sitetree.
So I want to find a way to block recursive content loading.
I found the file Hierarchy.php located in sappire/core/model directory in which is a function getChildrenAsUL. This function return the content as UL/LI recursive list for sitetree.
Can anybody help mi how to modify this (or any other function) to block recursive loading ?
I use SS version 2.2.3
thx in advance for any help.
p.s. Maybe You know some better idea who to handle hundreds of pages in one directory.