Hi,
i want to loop all albums and subalbums to create a navigation. I thought that I had found a similar function in the upload section of the backend. But i'm not so good in the OO stuff . Could please someone tell me what this error message means?
[code]
<?PHP
$folderlist = array();
genAlbumList($folderlist);
natcasesort($folderlist);
$albumlist = array_flip($folderlist);
foreach ($albumlist as $path => $value){
//etc
}
?>
[/code]
[error]
Fatal error: Call to a member function getAlbums() on a non-object in /Users/rhizom/Sites/zenphoto/zp-core/admin-functions.php on line 239
[/error]
Do i have to set a context first? Or initiate a object?
Thank you
Volkan
Comments