By placing the following for loop inside the 'album loop', I have been able to list the album titles of all the subalbums contained in my albums:
` <?php $allalbums = getAllAlbums();
$count = count($allalbums);
for ($i = 0; $i < $count; $i++)
{
$thisalbum = $allalbums[$i];
$albumobject = new Album($_zp_gallery,$thisalbum);
makeAlbumCurrent($albumobject);
echo getBareAlbumTitle() ;
}
?>
`