ZenphotoCMS Forum
Looping all Albums for a <ul><li>... - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Looping all Albums for a <ul><li>... (/thread-1868.html)



Looping all Albums for a <ul><li>... - MuschPusch - 2007-11-28

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]

[/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




Looping all Albums for a <ul><li>... - sbillard - 2007-11-29

This looks like the (old) code in admin.php. It creates an array of strings that contains the "names' of the album folders. You should probably be lookint at print_album_menu.php in the zp-core/plugins folder.




Looping all Albums for a <ul><li>... - MuschPusch - 2007-12-01

Thank you...