Hallo again.
I have a "Root" Album and "Subalbum1", "Subalbum2" and "Subalbum3". The 3 subalbums are all children of the "Root".
I am creating a custom page, which can be accessed at "mysite.com/pages/gallery". This page must display contents of the subalbums.
I am stuck at how do I create source for while( next_album() ){}. As far as I see, the next_album() must use some variable that is being created during (pre)processing of a template (index.php, album.php, etc) but I create a custom page and so the question of where to get the stuff is for me open.